Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Treatment trimStart

std/text/compose::trimStart


Inputs

⇥ text: Stream<string>

Outputs

↦ trimmed: Stream<string>


Trim start of streamed strings.

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