dart touppercase
void main() {
String uStr = "ABC";
String lStr = "hello";
print(uStr.toUpperCase());
print(lStr.toUpperCase());
}
dart touppercase
void main() {
String uStr = "ABC";
String lStr = "hello";
print(uStr.toUpperCase());
print(lStr.toUpperCase());
}
dart char is uppercase
import 'dart:io';
main() {
print("Enter a string : ");
var str = stdin.readLineSync();
if (str[0].toUpperCase() == str[0]) {
print("The first character is uppercase");
} else {
print("The first character is not uppercase");
}
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us