I\'ve already found how to capitalize all words of the sentence, but not the first word only.
NSString *txt =@\"hi my friends!\" [txt capitalizedString];
Use
- (NSArray *)componentsSeparatedByCharactersInSet:(NSCharacterSet *)separator
and capitalize the first object in the array and then use
- (NSString *)componentsJoinedByString:(NSString *)separator
to join them back