JS計(jì)算包含英文與漢字的字符串長度(一個(gè)漢字=2個(gè)字節(jié))
function countbCharacters(str)
{
}
posted on 2012-09-17 14:30 chen11-1 閱讀(304) 評(píng)論(0) 編輯 收藏
posted on 2012-09-17 14:30 chen11-1 閱讀(304) 評(píng)論(0) 編輯 收藏
只有注冊用戶登錄后才能發(fā)表評(píng)論。 | ||
![]() |
||
網(wǎng)站導(dǎo)航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
|
||