NSString *string = [NSString stringWithFormat:@"%@ %@", @"Hello", @"World"];
NSLog(@"%@", string);
or
NSString *string1 = @”Hello”;
NSString *string2 = @”World”;
string1 = [string1 stringByAppendingString:string2];
Showing posts with label stringByAppendingString. Show all posts
Showing posts with label stringByAppendingString. Show all posts
Thursday, May 5, 2011
How to concatenate char / string on iPhone?
Labels:
append,
Concate,
iPad,
iPhone,
NSString,
stringByAppendingString,
stringWithFormat
Subscribe to:
Posts (Atom)