Hello,

What is the easiest way to search the contents of an NSString for the occurrence of a word?

For example, if I have @"GNUStep is really cool", how can I find out if this contains the string @"cool"? I just need a BOOL to be returned.

I tried looked into this but got a bit hung up on NSPredicate class. It seemed to be getting a little too complicated for what I want to do.

Cheers,

Dan.


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to