byDelimRange

Given a text iopipe, returns a range based on splitting the text by a given code point. This has the advantage over delimitedText.asRange in that the delimiter can be hidden.

byDelimRange
(
bool KeepDelimiter = false
Chain
)
(
Chain c
,
dchar delim
)
if (
isIopipe!Chain &&
is(Unqual!(ElementType!(WindowType!Chain)) == dchar)
)

Parameters

KeepDelimiter

If true, then the delimiter is included in each element of the range (if present from the original iopipe).

c Chain

The iopipe to range-ify.

delim dchar

The dchar to use for delimiting.

Return Value

Type: auto

An input range whose elements are the delimited text segments, with or without delimiters as specified by the KeepDelimiter boolean.

Meta