i feel retarded for even asking this because its on the tip of my tongue metaphorically but here we go
i need to make an NSString called "HTMLData" out of two already existing strings called "summaryString" and "resizingString".
where resizingString is this (how would you make this into a string开发者_如何学Go?):
<meta name='viewport' content='width=device-width; initial-scale=1.0; maximum-scale=1.0;'>
and the summary string is decoded xml
how do i do that?
im fairly certain its something like this but its not working
NSString *HTMLData = resizingString + summaryString;
NSString *HTMLData = [resizingString stringByAppendingString: summaryString];
Refer to the NSString Class Reference for more info and methods...
精彩评论