Files
kumomta/docs/reference/string/trim_start.md
T

322 B
Raw Blame History

kumo.string.trim_start(STRING)

{{since('dev')}}

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')