1 reply to Geeky Humour – The Concatenator

  1. 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:

Leave a Reply

Your email address will not be published. Required fields are marked *