Splits a string into words based on some boundary condition ignoring any "glue" characters between any two words.
Splits a string into words based on some boundary condition ignoring any "glue" characters between any two words.
string to split into words
Iterator of the words created from the split
Splits a string into words based on some boundary condition and preserves the "glue" characters that were between the boundaries, including the leading and trailing glue.
Splits a string into words based on some boundary condition and preserves the "glue" characters that were between the boundaries, including the leading and trailing glue.
string to split
a lazy word split result
A trait for a word splitter that allows splitting a string into "words" and "glue". Each word splitter defines words and glue differently. A whitespace splitter assigns whitespace runs as "glue" and non-whitespace runs as "words". A capitalization-based splitter creates words when capitalization changes from