On 22 Dec 2008, at 11:22 pm, Rob Rix wrote:
I’m interested to know if there’s a better way to do this than the
ugly way I’ve been using, too:
NSString *first = [string substringWithRange: NSMakeRange(0, 1)];
NSString *rest = [string substringFromIndex: 1];
NSString *result = [[first
On Mon, Dec 22, 2008 at 8:25 AM, Graham Cox graham@bigpond.com wrote:
I ended up writing this category method. I guess it will be reliable, as
it's making no assumptions about encoding.
Actually it is! It assumes that the first character is the first
character. You'll want to stick in a
Le 22 déc. 08 à 14:48, Michael Ash a écrit :
On Mon, Dec 22, 2008 at 8:25 AM, Graham Cox graham@bigpond.com
wrote:
I ended up writing this category method. I guess it will be
reliable, as
it's making no assumptions about encoding.
Actually it is! It assumes that the first character