Trim
Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand. No examples yet — the crosswalk is the reason it has a page.
Trim(s): remove leading and trailing whitespace (the Unicode White_Space characters). Trim(s, chars): remove leading and trailing characters that belong to chars — a SET of characters, given as a character, a string (meaning the set of that string's characters) or a collection whose elements each contribute their own characters.
Trim(character | string, chars: (character | collection<character | string> | string)?) -> stringas compute-engine declares itTyped signatures
| Type | Package | Applies |
|---|---|---|
(character | string, chars: (character | collection<character | string> | string)?) -> string | compute-engine | always |