Re: Substring in String?
Re: Substring in String?
- Subject: Re: Substring in String?
- From: Ondra Cada <email@hidden>
- Date: Sun, 17 Feb 2002 18:26:34 +0100
Nick,
>
>>>>> Nick Muller (NM) wrote at Sun, 17 Feb 2002 13:10:08 +0100:
NM> >Is there a way to discover if there's a specific substring in a string
NM>
NM> rangeOfString:<searchString>
NM>
NM> >and if so to return a boolean value?
NM>
NM> Obj-C: adding a category.
Unless it's needed for some automatic key/value coding like WO use, I guess
it would be an overkill, since things like
if ([s rangeOfString:ss].length) ...
are quite straighfroward, aren't they?
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.