delimitedText

Process a given text iopipe by a given code point delimeter. The only behavior that changes from the input pipe is that extensions to the window deliever exactly one more delimited segment of text.

delimitedText
(
Chain
)
(
Chain c
,
dchar delim = '\n'
)
if (
isIopipe!Chain &&
isSomeChar!(ElementEncodingType!(WindowType!Chain))
)

Parameters

c Chain

The input text iopipe. This must have a window whose elements are valid character types.

delim dchar

The code point with which to delimit the text. Each extension to the iopipe will either end on this delimiter, or will be the last segment in the pipe.

Return Value

Type: auto

An iopipe that behaves as described above.

Meta