Contents

Roo

Text.strip

Returns a new Text object with the leading and trailing whitespace removed. The original text is unaltered.

"  Hello  ".strip # => "Hello"