strings.ToUpper / ToLower
Changes the letter case.
Syntax
strings.ToUpper(text)
Description
Located in the strings package (import "strings"). Returns new text.
Example
Loading editor…
Expected output
HEXLIBRARY
When to use?
Comparison, representation.