Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
How to know if an NSString contains a string?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to know if an NSString contains a string?



I guess this is one of those things I'll smack myself for, but I can't find a good way to do it:

How do I know if a string contains another string? Something like myBool = [myString containsString:@"bla"] is what I need.

Any pointers?

Thanks,


Jan Van Boghout
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.