toUpperCase() / toLowerCase()
Converts to uppercase / lowercase.
Syntax
text.toUpperCase() · text.toLowerCase()
Description
Returns a new text; does not modify the original.
Example
Loading editor…
Expected output
HEXLIBRARY hexlibrary
When to use?
Comparison ignoring case differences (email, search).