In cases such as this, i've used a combination of NSScanner as well as
-stringReplacingOccurancesOfString.
On Aug 14, 2009, at 2:00 PM, Eric E. Dolecki wrote:
Is there a pretty easy way to strip out a section of a string based
on 2
characters?
ie. "(#1 - 140/500) Title
I would like to strip out everything including the "(" and the ")"
characters, and then I'll strip out the leading space.
Thanks
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/intrntmn%40aol.com
This email sent to intrn...@aol.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com