开发者

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

开发者 https://www.devze.com 2022-12-21 09:38 出处:网络
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 youNSMutable

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号