function

string.trim

Signature

function string.trim(str) -> string

Returns the given str with both left and right sides trimmed.