trim(s: utf8) → utf8
Category: [strings](builtinsstrings)_
Remove leading and trailing whitespace from a string.
| Parameter | Type | Description | Remarks |
|---|---|---|---|
| s | utf8 | The string to trim. | — |
| returns | utf8 | The string without leading/trailing whitespace. | — |
wcl
trim(" hi ") // strip leading/trailing whitespace → "hi"