string/trim library

Functions

trim(String str, [String chars = ""]) String
Removes leading and trailing whitespace or specified characters from str.