Skip to main content
Version: v4.24

trim_start

Trims whitespace from the start of a string.

trim_start(x:string) -> string

Description

The trim_start function removes leading whitespace from x.

Examples

Trim whitespace from the start

from {x: " hello".trim_start()}
{x: "hello"}

See Also

trim, trim_end