TRIM function
The trim
function removes leading and trailing whitespace and new line characters from a string. This is useful for cleaning and standardizing text data, ensuring there are no extra spaces or lines at the beginning or end of the strings.
Syntax
trim(<val>)
Parameter | Type | Description |
---|---|---|
val | string |
Usages
trim(`description`)
trim(`email`)