I have this line of code that is giving me a warning:
result = [result substringToIndex:[result length] - 1];
The warning is:
Incompatible pointer types assigning to 'NSMutableString *' from 'NSString *'
I think I understand what the problem is (my use of the substring returns NSString?) - I just don't know how to fix it. Can someone please enlighten me?