Java文字列toUpperCase
replaceAll

toUpperCase文字列

toLowerCase

すべての文字を大文字に変換します。

構文

str.toUpperCase()