开发者

Extracting characters from an NSMutableString

开发者 https://www.devze.com 2023-02-04 16:19 出处:网络
How does one extract characters from a NSMu开发者_StackOverflow中文版tableString? Is it the same as NSString?

How does one extract characters from a NSMu开发者_StackOverflow中文版tableString?

Is it the same as NSString?

[NSString stringWithFormat:@"%c.png", [someString characterAtIndex:0]]


Yes that should work fine. You can call any NSString method on a NSMutableString.

0

精彩评论

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