Objective c 如何使NSMutableString为空

Objective c 如何使NSMutableString为空,objective-c,cocoa-touch,nsmutablestring,Objective C,Cocoa Touch,Nsmutablestring,如果NSMutableString包含一个随机字符串,那么如何从中删除所有字符,使其成为空字符串 [myMutableString setString:@""]; 必须的

如果NSMutableString包含一个随机字符串,那么如何从中删除所有字符,使其成为空字符串

[myMutableString setString:@""];
必须的