Added the method "deleteLastCharacter" to the NSString class.