NSRange in Strings having dialects
问题 I was working on an app, which takes input in a language called "Tamil". So in order to find the range of any particular charater in the string i have used the below code. var range = originalWord.rangeOfString("\(character)") println("\(range.location)") So this works fine except for some cases. there are some characters like this -> í , ó . // am just saying an example. So like this combination, in other languages there are several vowel diacritcs are there. If i have this word "alv`in" //