2008年12月12日 ... 在JavaScript中有個內建函數length ... 但是使用此函數無法判斷真正的字元長度... 例如: "你好" 的長度使用length 計算出來是2 而 "Key" 計算出來的 ...
mouse37.blogspot.com