Skip to content

trim_start

Trims whitespace from the start of a string.

trim_start(x:string) -> string

The trim_start function removes leading whitespace from x.

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

trim, trim_end