instance method String#strip
String#strip() → String
Strips all leading and trailing whitespace from a string.
Example
' hello world! '.strip();
// -> 'hello world!'
String#strip() → String
Strips all leading and trailing whitespace from a string.
' hello world! '.strip();
// -> 'hello world!'