Menu

This is documentation for the next version of Alloy. 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

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