I need to define a string that will include a string that changes (i can already make that string change) and additional text.
开发者_如何学运维for example,
NSString *commentsAddress = *somestring*/#comments;
now i know it sould be something more along the lines of
NSString *commentsAddress = @"%@/#comments", *somestring*;
but I can't get this to work.
NSString *comment = @"This is the comment";
NSString *commentAddress = [NSString stringWithFormat: @"%@/#comments", comment];
精彩评论