Crate split_preserve

Source
Expand description

This module provides an iterator over strings that splits on whitespace but doesn’t throw the whitespace away, like the version in std does. An iterator over the whitespace and non-whitespace sub-strings of a string, separated by any amount of whitespace.

Structs§

SplitPreserveWS

Enums§

Token
The token returned by the SplitPreserveWS iterator. It can be either Whitespace or Other