Use the following code.
All NSStrings are the same procedure for changing strings
NSString * reverse=@ "الكتب"; NSMutableString *reversedString = [NSMutableString string]; NSInteger charIndex = [reverse length]; while (charIndex > 0) { charIndex--; NSRange subStrRange = NSMakeRange(charIndex, 1); [reversedString appendString:[reverse substringWithRange:subStrRange]]; } NSLog(@"%@", reversedString);
user1025285
source share