Objective-C : Insert string into another string at a certain range
i need to insert a string into another string at a certain range.
I know there is the appendingString
method开发者_运维百科 but i need to insert it at a given range into the string. thank you
NSMutableString insertString:atIndex:
is what you're looking for.
More info here.
精彩评论