阅读背景:

如何在NSString中获取单词或音节的索引

来源:互联网 

i need to get location(index) of word or syllable of NSString. I'm sorry about i can't post any code because i have no idea where to start. I m working with web service and service will be back to me word or syllable in sentence and will tell me any color and i have to change color of word in sentence. I figured this out how to change color of character but i need to know index of it. I will be really thankful for any clue or help. Thanks in advance.i need to get location(index) of word or syllab




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: