JavaScript 文字列操作 新しいページはコチラ
提供: yonewiki
(→小文字大文字変換 toUpperCase) |
(→小文字大文字変換 toUpperCase) |
||
517行: | 517行: | ||
− | * | + | *strData17 = strData16.toUpperCase() |
サンプルスクリプト | サンプルスクリプト | ||
<syntaxhighlight lang="javascript" line start="1"> | <syntaxhighlight lang="javascript" line start="1"> | ||
− | + | strData16 = new String("大文字に変換(convert)"); | |
document.write(".toUpperCase() : ",strData16, " ,変換後 = ", strData16.toUpperCase(), "</BR>"); | document.write(".toUpperCase() : ",strData16, " ,変換後 = ", strData16.toUpperCase(), "</BR>"); |