开发者

How I'll convert "ı" character to "I" which is within a word with JavaScript?

Like aıdK -> aIdK开发者_JS百科

Note: http://www.marathon-studios.com/unicode/U0131/Latin_Small_Letter_Dotless_I


var convertedString = string.replace(/\u0131/g,'I');


var mystring = "aıdK";

newstring = mystring.replace("ı","l"); //aldK

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜