toLocaleUpperCase()
String.toLocaleUpperCase()は言語情報に基づき小文字を大文字に変換します。
このメソッドはほとんどの言語においてString.toUpperCase()と同じ情報を返します。(ただしトルコ語などの一部の言語では異なる値を返します。)
"abc".toLocaleUpperCase();//"ABC"
大文字を小文字に変換する場合はString.toLocaleLowerCase()を利用します。
登録日 : 2014年07月21日 最終更新日 : 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