Skip to content

TRIM

Returns the input string with all preceding and subsequent whitespace removed.

js
TRIM(input_string)

Parameters

  • input_string - The string to be trimmed.

Examples

js
TRIM(" Hello World  ")

Result: Hello World