Re: Trimming certain patterns from NSString?
Re: Trimming certain patterns from NSString?
- Subject: Re: Trimming certain patterns from NSString?
- From: Dave DeLong <email@hidden>
- Date: Mon, 18 Jul 2011 10:49:24 -0700
Regular Expression find and replace? Basically, replace something like @"^\\d+ - " with @"".
Dave
On Jul 18, 2011, at 10:46 AM, Eric E. Dolecki wrote:
> I am collecting track information (titles) and I would like to trim off
> certain things
>
> 01 - Barracuda
> becomes Barracuda
>
> 02 - Love Alive
> becomes Love Alive
>
> What is the best way to trim those off the front?
>
> Thanks,
> Eric
> _______________________________________________
>
> 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
_______________________________________________
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