std.txt.trim

std.txt

trim(value) -> trimmed

Trim leading and trailing whitespace from a string

Removes leading and trailing whitespace from a string. Returns empty string if the result is an empty string or if input is not a string.