如何将NSMutableString转换为常规NSString?

时间:2010-12-21 08:41:59

标签: objective-c nsstring nsmutablestring

如何将NSMutable String转换为常规NSString?

2 个答案:

答案 0 :(得分:22)

尝试[NSString stringWithString: yourMutableString]

答案 1 :(得分:5)

[aMutableString copy]

将返回NSString