Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 547 Bytes

to-upper.md

File metadata and controls

21 lines (13 loc) · 547 Bytes

to-upper

to-upper removes a copy of a string with all lowercase characters replaced with their uppercase equivalent. This function uses Go's regular strings package and so this function should not be used where Unicode characters are involved, unexpected results might happen.

See also to-lower.

Examples

  • (to-upper "foo")"FOO"

Forms

(to-upper value:string)string

  • value is an arbitrary expression.

Returns a copy of the value with all bytes being turned to their uppercase equivalent.