Re: Simple string replacement
Re: Simple string replacement
- Subject: Re: Simple string replacement
- From: Camillo Lugaresi <email@hidden>
- Date: Thu, 23 Feb 2006 18:41:54 +0100
On 23/feb/06, at 17:29, Stephen Caudill wrote:
A no-brainer for a lot of you, I'm sure, but this has me stumped.
I have a variable string, that's going to come in the form of: "foo
bar", "foobar" or "foo bar baz" with which I'd like to do a simple
replacement on the space with an underscore, if there's a space
present... I'm attempting this:
NSMutableString *tagName = [f lowercaseString];
lowercaseString returns an NSString, not an NSMutableString.
Camillo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden