Trim
trim
Removes leading and trailing whitespace from a string.
Spec
trim(arg0) Parameters
arg0 - A string value. Return Value
The input string with leading and trailing whitespace removed. Example
datatable(val:string)[" hello "]
| extend intermediate = ">" + val + "<"
| extend result = ">" + trim(val) + "<" | val | intermediate | result |
|---|---|---|
| hello | > hello < | >hello< |