mirror of
https://github.com/mailscope/kumomta.git
synced 2026-08-21 11:58:17 +00:00
15 lines
322 B
Markdown
15 lines
322 B
Markdown
# `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.
|
||
|
||
```lua
|
||
assert(kumo.string.trim_start '\n Hello\tworld\t\n' == 'Hello\tworld\t\n')
|
||
```
|
||
|
||
|