Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Xtrician

macrumors newbie
Original poster
Jan 12, 2011
19
0
Hello,
What i mean is,
For Example:
Code:
NSString *s = @"Alex";
NSString *s2 = @"Hi [s] how are you?";

NSLog(s);
NSLog(s2);

Here is the output i want:
Alex
Hi Alex how are you?

What is the correct syntax and the easy way to do this?
Thanks.
 
Last edited by a moderator:
Maybe pickup a book on basic programming in Xcode IDE and Objective-C Environment, no personal offense, but if every1 will start off with asking such questions, the forum will be a bit flooded :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.