Re: Substring in String?
Re: Substring in String?
- Subject: Re: Substring in String?
- From: Finlay Dobbie <email@hidden>
- Date: Sun, 17 Feb 2002 18:08:05 +0000
On Sunday, February 17, 2002, at 05:26 PM, Ondra Cada wrote:
if ([s rangeOfString:ss].length) ...
Shouldn't that be
if ([s rangeOfString:ss].length != NSNotFound) ...
-- Finlay
_______________________________________________
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.