NSString *str=@"hello";
NSString *str1=@"world";
NSString *new=[str stringByAppendingFormat:@" %@",str1];
NSLog(@"%@",new);
NSString *str=@"hello";
NSString *str1=@"world";
NSString *new=[str stringByAppendingFormat:@" %@",str1];
NSLog(@"%@",new);
转载于:https://www.cnblogs.com/LiHai/p/5121047.html