6

If I have an NSMutableString containing a random string, then how do I remove all characters from it so that it becomes an empty string?

node ninja
  • 31,796
  • 59
  • 166
  • 254

1 Answers1

17
[myMutableString setString:@""];

Obligatory documentation link.

Kris Markel
  • 12,142
  • 3
  • 43
  • 40