how to change specific area of a string to uppercase in javascript code example Example: uppercase javascript var str = "Hello World!"; var res = str.toUpperCase();