JavaScript 文字列操作 新しいページはコチラ
提供: yonewiki
(→文字コード変換(1文字→ISO Latin-1コード) charCodeAt) |
(→文字コード変換(1文字→ISO Latin-1コード) charCodeAt) |
||
429行: | 429行: | ||
document.write(strData15, " ,文字コード変換 ->"); | document.write(strData15, " ,文字コード変換 ->"); | ||
for(n = 1;n <= strData15.length;n++){ | for(n = 1;n <= strData15.length;n++){ | ||
− | document.write(strData15.charCodeAt( | + | document.write(strData15.charCodeAt(n), ", "); |
} | } | ||
document.write("</BR>"); | document.write("</BR>"); |