Wednesday, October 30, 2013

adding character to a string Objective-c

char c1=(char)13; 
char c2=(char)10; 
char c3='1'; 
NSString *stringfromchars = [NSString stringWithFormat:@"%@%c%c", @"some string",c1,c2];

 Bobby :)