ios - Simple string concatenation in Objective C -
ios - Simple string concatenation in Objective C -
i have nsstring named 'you' value "this string!".
i want concat "123" in 'you', how can it?
i using code , giving error.
you=[you stringbyappendingstring:@"123"];
this code here working me
nsstring *s = @"avant"; s = [s stringbyappendingstring:@" - après"]; nslog(@"%@", s);
2012-01-13 11:48:59.442 tabbar[604:207] avant - après
so guess you
bad pointer not nil
, not nsstring think have.
have seek nslog on value before call?
objective-c ios nsstring string-concatenation
Comments
Post a Comment