NSString *myString = @"i want first letter capitalized.";
NSString *newString = [myString stringByReplacingCharactersInRange:NSMakeRange(0,1) withString:[[myString substringToIndex:1] capitalizedString]];
sdsadThis will give output of newString as I want first letter capitalized
Great help.
ReplyDelete