Skip to content

Removes leading and trailing whitespace or specified characters from a string.

func.trim(<str>)
func.trim(' hello ')
┌─────────┐
│ 'hello' │
└─────────┘
TRIM(<str>)
SELECT TRIM(' hello ');
┌───────┐
│ hello │
└───────┘