toUpperCase()
String.toUpperCase()は小文字を大文字に変換するためのメソッドです。
"abc".toUpperCase();//"ABC"
言語情報に基づき変換したい場合はString.toLocaleUpperCase()を利用します。
また、小文字を大文字に変換したい場合はString.LowerCase()を利用します。
登録日 : 2014年07月27日 最終更新日 : 2014年7月27日
同じカテゴリー(String)のエントリー
- valueOf()
- toUpperCase()
- toString()
- toLowerCase()
- toLocaleUpperCase()
- toLocaleLowerCase()
- substring()
- substr()
- split()
- slice()
- search()
- replace()
- match()
- contains()
- endsWith()
- startsWith()
- localeCompare()
- lastIndexOf()
- indexOf()
- fromCharCode()
- concat()
- charCodeAt()
- charAt()
- trimLeft()
- trimRight()
- trim()
- length