.length / .uppercase()
Length and case conversion.
Syntax
s.length s.uppercase() s.lowercase()
Description
length gives the number of characters (it's a property, not a method). uppercase/lowercase convert casing.
Example
Loading editor…
This language is for reference/learning only — copy the code and try it in your own environment.
Expected output
10 HEXLIBRARY hexlibrary
When to use?
Input validation, text normalization.