quick newbie NSString question
quick newbie NSString question
- Subject: quick newbie NSString question
- From: Aaron Tuller <email@hidden>
- Date: Sun, 24 Jun 2001 01:25:51 -0700
ok, I have a NSString, it is "1234" (without the quotes).
I want to make it "3412" (without the quotes).
what's the best cocoa way to do this? I've only been able to do it
by turning it into a C string and then going back to a NSString but
that seems silly. and I was thinking of using characterAtIndex: but
the whole Unicode thing scared me off. what kid of data type do I
hold the things that characterAtIndex: returns and how can I put them
back into a NSString. thanks for any help and sorry if this question
is really obvious.
-aaron