Trim Start

trim_start

Removes leading whitespace from a string.

Spec

trim_start(arg0)

Parameters

arg0 - A string value.

Return Value

The input string with leading whitespace removed.

Example

datatable(val:string)["  hello  "]
| extend intermediate = ">" + val + "<"
| extend result = ">" + trim_start(val) + "<"
valintermediateresult
hello> hello <>hello <