Utilizor
Contact Us

toUpperCase, toLowerCase

Changing string case.

Converting to Upper and Lower Case

A string is converted to upper case with toUpperCase().

A string is converted to lower case with toLowerCase().

Example

let text1 = "Hello World!";
let text2 = text1.toUpperCase();