Skip to content

StringLines

1 min read

No import is needed.

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

StringLines

Cursor over the lines of a ReadOnlySpan<char>.

public ref struct StringLines

move_next

Advances to the next segment; returns false at the end.

public fun move_next(): bool

current

View of the segment selected by the last successful move_next.

public get current(): ReadOnlySpan<char>