JavaScript 文字列操作 新しいページはコチラ
提供: yonewiki
(→文字列長さ(文字列変数長さ探索) length) |
(→文字列長さ(文字列変数長さ探索) length) |
||
398行: | 398行: | ||
strData14 = new String("文字数をcountできる .length()"); | strData14 = new String("文字数をcountできる .length()"); | ||
− | document.write(strData14, ",文字数 = ", strData14.length | + | document.write(strData14, ",文字数 = ", strData14.length, "</BR>"); |
</syntaxhighlight> | </syntaxhighlight> | ||
409行: | 409行: | ||
document.write(strData14, "</BR>"); | document.write(strData14, "</BR>"); | ||
− | + | document.write(strData14, ",文字数 = ", strData14.length, "</BR>"); | |
</yjavascript> | </yjavascript> |