Removing the last character from an NSMutableString
How does one remove the last character from an NSMutableString?
You could use deleteCharactersInRange:
NSMutableString *str = [NSMutableString stringWithString:@"FooBarx"];
[str deleteCharactersInRange:NSMakeRange([str length]-1, 1)];