toUpperFirstCase method
hello_word_good => Hello_word_good
Implementation
String toUpperFirstCase() {
if (isEmpty) return this;
if (length == 1) return toUpperCase();
return this[0].toUpperCase() + substring(1);
}
hello_word_good => Hello_word_good
String toUpperFirstCase() {
if (isEmpty) return this;
if (length == 1) return toUpperCase();
return this[0].toUpperCase() + substring(1);
}