Objective-C : Insert string into another string at a certain range

range, string

Solution

`NSMutableString insertString:atIndex:` is what you're looking for.

More info here.

Problem

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

Original source