Hello,
I've what I think a pretty n00b question, but I can't seem to make heads or tails of anything I've been able to find online on the subject (either that or I'm just brain dead from trying).
Anywho, I want to be able to take a NSString and replace all occurances of a single character with another character.
So if my original NSString contained: "I'm a noob at Objective-C."
And I wanted all "o"s to be "0"s, then I would get: "I'm a n00b at 0bjective-C."
Does anyone know how I could do this? Thanks for the help!!
I've what I think a pretty n00b question, but I can't seem to make heads or tails of anything I've been able to find online on the subject (either that or I'm just brain dead from trying).
Anywho, I want to be able to take a NSString and replace all occurances of a single character with another character.
So if my original NSString contained: "I'm a noob at Objective-C."
And I wanted all "o"s to be "0"s, then I would get: "I'm a n00b at 0bjective-C."
Does anyone know how I could do this? Thanks for the help!!