Treatment trim

text/compose::trim


Inputs

⇥ text: Stream<string>

Outputs

↦ trimmed: Stream<string>


Trim stream of strings.

Stream strings with leading and trailing whitespace removed. Whitespace is defined according to the terms of the Unicode Derived Core Property White_Space, which includes newlines.