My Notebook
2011年12月28日 星期三
Get String Char Value
var inStr = "火力“;
var charValue = inStr.charCodeAt(0); //this will return char value for 火
on string comparison,
if( StringA > StringB) .....
it is using character value for comparison
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言