//------
NSMutableString *str=[[NSMutableStringalloc] initWithString:@"前面的字符串"];
str=[str stringByAppendingString:@"后面的字符串" ];
//------
NSMutableString *str=[[NSMutableStringalloc] initWithString:@"前面的字符串"];
str=[str stringByAppendingString:@"后面的字符串" ];
本文标题:17、在原有字符串上追加方法
本文链接:https://www.haomeiwen.com/subject/uurnlttx.html
网友评论