Notifications
Clear all
Topic starter
I have the following statement, and am trying to determine where the colon is in the string of a time field.
position = match(start,1,":")
The time is shown as 4:30 PM.
If I do the following, it shows the position as & for PM:
position = match(start,1,"PM")
However, searching for the position of the ":" gives me a function error. Does anyone know if you are allowed to match on special chrs ?
Thanks.
John
Posted : January 10, 2014 5:27 am
Make sure start is really a string value. Maybe match(str(start),1,":") .
Posted : January 10, 2014 7:21 am