JS: String.prototype.toLowerCase
toUpperCase
str.toUpperCase()-
Return a string of upper case version of string str.
works on Greek or any unicode that has upper/lower case defined.
console.log( "abc".toUpperCase() === "ABC" ); console.log( "δγπ".toUpperCase() === "ΔΓΠ" );
toLowerCase
str.toLowerCase()-
Return a string of lower case version of string str.
console.log( "ABC".toLowerCase() === "abc" ); console.log( "ΔΓΠ".toLowerCase() === "δγπ" );
toLocaleUpperCase, toLocaleLowerCase
str.toLocaleUpperCase()-
same as
str.toUpperCase(), except that it may be different in some languages (e.g. Turkish). JavaScript implementation may not chose to have this behavior. In that case, its identical tostr.toUpperCase().
JS String.prototype
- JS: String.prototype.constructor
- JS: String.prototype.length
- JS: String.prototype.at
- JS: String.fromCharCode
- JS: String.prototype.concat
- JS: String.prototype.repeat
- JS: String.prototype.trim
- JS: String.prototype.trimStart
- JS: String.prototype.trimEnd
- JS: String.prototype.padStart
- JS: String.prototype.padEnd
- JS: String.prototype.slice
- JS: String.prototype.substring
- JS: String.prototype.substr
- JS: String.prototype.indexOf
- JS: String.prototype.lastIndexOf
- JS: String.prototype.includes
- JS: String.prototype.startsWith
- JS: String.prototype.endsWith
- JS: String.prototype.search
- JS: String.prototype.match
- JS: String.prototype.matchAll
- JS: String.prototype.replace
- JS: String.prototype.split
- JS: String.prototype.toLowerCase
- JS: String.prototype.charAt
- JS: String.prototype.charCodeAt
- JS: String.prototype.codePointAt