iPhone SDK Tip & Trick #003: How do I Concatenate Two Strings Together?
Saturday, December 6, 2008 12:00Posted in category Tips & Tricks, iPhone SDK
Question:
How do I concatenate two strings together?
Answer:
NSString *string1 = @”Alpha”;
NSString *string2 = @”Omega”;
string1 = [string1 stringByAppendingString:string2];
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
