My XML web service is sending an extra space in a datetime parameter of an array. Prior to April 1, the format was coming over as:
Sun Mar 31 02:05:49 2012 GMT
…but as of April 1, it was being reformatted as:
Sun Apr 1 02:05:49 2012 GMT (Note the extra space between "Apr" and "1")
The problem is I’m exploding my array with a blankspace (" ") to take the [Month]+[Date]+[Year] but now I’m getting [Month]+[blank]+[Timestamp].
Is there an array function to count backwards so I get [timezone] [year] [timestamp] [date] etc.?
Thanks.
You can split using regular expression
This will use one or more whitespaces as separator