Function byLineRange
Convenience wrapper for byDelimRange that uses the newline character '\n' as the delimiter. Equivalent to `byDelimRange!(KeepDelimiter)(c, '\n');
auto byLineRange(bool KeepDelimiter = false, Chain)
(
Chain c
);
Parameters
Name | Description |
---|---|
KeepDelimiter | If true, then the delimiter is included in each element of the range (if present from the original iopipe). |
c | The iopipe to range-ify. |
Returns
An input range whose elements are lines of text from the input iopipe, with or without delimiters as specified by the KeepDelimiter boolean.