Skip to main content

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>)
ParameterTypeDescription
valstring

Usages

trim(`description`)
trim(`email`)