Menu

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

Open source

trim_suffix

trim_suffix removes the suffix from the end of a string.

Examples

river
> trim_suffix("helloworld", "world")
"hello"