Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将韩文字符中的字符串拆分为子字符串。例如,
myString=@"어떻게"分成3个子串:@"어", @"떻", @"게"
myString=@"어떻게"
@"어", @"떻", @"게"
到目前为止,我尝试过的是:
[myString componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@""];
但不成功。
有什么建议么?谢谢