http://www.icodeblog.com/2008/11/03/finding-substrings-in-objective-c/
Finding Substrings in Objective-C
It’s times like this, that I miss ruby.
I’m checking a url to see if it has a substring. It would be so easy if this was ruby:
absolute_url.match(/my regex/).any?
In Objective C, you have to use rangeOfString which return a....... ............ ............... ........
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment