hugo411
hugo411

Reputation: 346

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

Upvotes: 5

Views: 5383

Answers (1)

Chris McCall
Chris McCall

Reputation: 10397

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

More info here.

Upvotes: 11

Related Questions