String
Join
Join(parts~: string[], separator?: string) -> string
The parts as one text, with separator between them. Without a separator they are run together.
parts~ converts: each value in parts becomes a string before Join runs, so a number, a boolean or a null there needs no conversion op.
Upper
Upper(text: string) -> string
The text in upper case.
Lower
Lower(text: string) -> string
The text in lower case.
Trim
Trim(text: string) -> string
The text without the spaces at its start and end.
Contains
Contains(text: string, part: string) -> boolean
True when part appears in text. An empty part always does.
StartsWith
StartsWith(text: string, part: string) -> boolean
True when text begins with part. An empty part always matches.
EndsWith
EndsWith(text: string, part: string) -> boolean
True when text ends with part. An empty part always matches.