/ Published in: Objective C
This is all about appending strings.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* append to a mutable string */ [aString appendString:@" you can't have any pudding."]; [bString1 appendFormat:@" %@", bString2]; /* concatenate 2 strings to make a 3rd */ /* assigning an appended string back to itself */ string1 = [string1 stringByAppendingString:string2];