Re: Removing (foo) from a NSString
Re: Removing (foo) from a NSString
- Subject: Re: Removing (foo) from a NSString
- From: Jens Alfke <email@hidden>
- Date: Tue, 12 Jul 2011 13:23:02 -0700
On Jul 12, 2011, at 12:42 PM, Fritz Anderson wrote:
> It should be easy to walk the string with NSScanner.
I always end up taking the ghetto route and just using -rangeOfSubstring: and substringWithRange: for stuff like this. It would probably be cleaner to use NSScanner though, at least until NSRegularExpression goes mainstream.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden