Tuesday, 20 August 2013

Remove timestamp from NSString

Remove timestamp from NSString

I have a NSString filled with the following from my json parser.
"2013-08-22 00:00:00";
How i can i remove the timestamp from this? "00:00:00";
Thanks.
P.s i tried using the substringWithRange:NSMakeRange function.

No comments:

Post a Comment