String c = a.concat(b); has never been so violent.
I like what you can do with NSString in Cocoa:
NSString *myString = [NSString stringWithFormat: @”The quick %@ fox %@ over the lazy %”, @”brown”, @”jumps”, @”dog”];
You can use things like %d for ints, %f for floats and so on. Alternatively you can create an NSMutableString and use call append: or appendFormat:
Your email address will not be published. Required fields are marked *
I'd love to hear what you think. Send an email to
email@example.com; be sure to let me know if you're happy for your comment to appear on the Web!