toLines

Convert text into a set of lines, where each line is identified by a \n or \r\n combination. The line terminator is stripped from each resultant array

Note that the src content is not duplicated by this function, but is sliced instead.

inout(char)[][]
toLines
(
inout(char)[] src
)

Meta