I have a NSMutableString. I need to check whether the last character is @":" or last two characters are @": "
NSMutableString
How to do that?
Use the hasSuffix: method of NSString.
hasSuffix:
NSString