开发者

iPhone sdk: how to separate the NSString

开发者 https://www.devze.com 2023-02-15 15:02 出处:网络
I am working on the google calendar, for this I have add one more feature like Quick add event to google calendar from my app.

I am working on the google calendar, for this I have add one more feature like Quick add event to google calendar from my app.

I have to separate one string into sub string like this (which come from UITextView)

on 24-03-2011 9.30AM I have 开发者_如何学Pythonto meet my boss.

here I have to separate Date(24-03-2011), Time (9.30AM) and String (I have to meet by boss.)

and I have to store in different NSStrings.

Please suggest me, how to work out with this.

Thank you.


Use NSRegularExpression for this.

0

精彩评论

暂无评论...
验证码 换一张
取 消