Skip to main content Skip to complementary content

trim

Last updated: 8/28/2026
Removes excess leading and trailing white space.

Arguments

Input string.

Examples

Expression Result
trim(" Hello World! ") "Hello World!"

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!