Method String.trim()


Method trim

string trim(string s)

Description

Trim leading and trailing white spaces characters (space, tab, newline, carriage return, form feed, vertical tab and all the white spaces defined in Unicode) from the string s.

Note

This function was called String.trim_all_whites() before Pike 9.0.

See also

String.trim_all_whites(), String.trim_whites()