Skip to main content
Deno 2 is finally here 🎉️
Learn more

string_trim

Provies functions to trim specific characters from the start or end of strings.

The builtin JavaScript trim functions on the String object only trim whitespace.

The functions in this module are based on the trim functions in the PHP standard library.