Uppercase & Lowercase

Uppercase & Lowercase

  • Uppercase: a uppercase is to to transfer small character to capital character in string

  • Lowercase: a Lowercase is to to transfer capital character to small character in string.

Example:

// uppercase &
// Lowecase program simple example
void main(){
  String str ="Hello Jeet";

  print(str.toUpperCase());

  print(str.toLowerCase());
}

OUTPUT:

HELLO JEET
hello jeet