Dart言語 toUpperCaseでアルファベットの文字列を大文字に変換する
環境
Windows11 pro 64bit
Dart 2.18.1
構文
対象文字列.toUpperCase()
toUpperCase関数を使って、アルファベットの文字列を大文字に変換します。
使用例
void main() {
String tt = 'study';
print(tt.toUpperCase());
}
実行結果
STUDY
Coding Changes the World
環境
Windows11 pro 64bit
Dart 2.18.1
構文
対象文字列.toUpperCase()
toUpperCase関数を使って、アルファベットの文字列を大文字に変換します。
使用例
void main() {
String tt = 'study';
print(tt.toUpperCase());
}
実行結果
STUDY