You can perform two simple methods on a string to modify its characters:
toUpperCase() and toLowerCase(). Both methods return a string with all uppercase letters or all lowercase letters. If you want to modify only certain letters to uppercase or lowercase, first you’ll need to create substrings of those specific characters, as discussed in the preceding section. Modify the substrings to uppercase or lowercase; then put the string back together with concat().