Menu

This is documentation for the next version of Agent. For the latest stable release, go to the latest version.

Open source

trim_space

trim_space removes any whitespace characters from the start and end of a string.

Examples

river
> trim_space("  hello\n\n")
"hello"