Treatment rescale

std/text/compose::rescale


Parameters

↳ var delimiter: string = " "

Inputs

⇥ unscaled: Stream<string>

Outputs

↦ scaled: Stream<string>


Rescale stream of strings.

Rescaling means that strings sent throught stream are rearranged according to the delimiter.

Unscaled stream can basically be cut at any position:

"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean qua"
"m velit, tristique et arcu in, viverra pulvinar ante. Interdum et m"
"alesuada fames ac ante ipsum primis in faucibus. Cras varius, augue"
" ac fringilla placerat, nibh lorem laoreet enim, sed fermentum libe"
" ro justo ut sapien."

While treatments may expect well-defined strings:

"Lorem ipsum dolor sit amet, consectetur adipiscing elit."
"Aenean quam velit, tristique et arcu in, viverra pulvinar ante."
"Interdum et malesuada fames ac ante ipsum primis in faucibus."
"Cras varius, augue ac fringilla placerat, nibh lorem laoreet enim, sed fermentum libero justo ut sapien."