A: 
 (NSString *)capitalizedString

So:

NSString *myString,*myCapitalizedString;

    myString = @"capitalize";
    myCapitalizedString = [myString capitalizedString]; // produces Capitalioze
ennuikiller
Thank you too ;)
gotye
+2  A: 

The capitalizedString method exists in NSString class, see the docs

NSString *foo = @"this is all lower";
NSString *fooUpper = [foo capitalizedString];

Note that this isn't iPhone specific, same code on the Mac.

NeilInglis
Don't know how I missed it ... cheers !
gotye