trim

text trim(text)

Returns the text with leading and trailing whitespace omitted.

Parameters

  1. text — text to be trimmed of whitespaces.

Returns