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