Step - trim

trim ยท category: Strings and type conversion

Removes leading and trailing whitespace (Unicode White_Space, see the book page Type Conversion and length()) from each string.

Forms

trim()
trim(arg1: Scope)

Example

g.inject("  a  ").trim().next()   // a

See also