mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-19 19:08:17 +00:00
318 B
318 B
kumo.string.trim(STRING)
{{since('dev')}}
Returns a string with leading and trailing whitespace removed.
‘Whitespace’ is defined according to the terms of the Unicode Derived Core
Property White_Space, which includes newlines.
assert(kumo.string.trim '\n Hello\tworld\t\n' == 'Hello\tworld')