Create extension methods for common BreakIterator operations #22
Labels
design
is:enhancement
New feature or request
is:feature
is:idea
pri:normal
up for grabs
This issue is open to be worked on by anyone
Milestone
While
BreakIterator
provides great low-level functionality for iterating forward and backward through breaks, it would be great if there were a simple way to do forward-only operations onstring
,StringBuilder
, andchar[]
.Or
We would ideally create a different extension method (with overloads for optional culture) for all 4 modes:
We could then expand on this to do a higher level operation, such as providing an
IEnumerable<string>
that would tokenize the text so it can be iterated with aforeach
loop.Some thought needs to be given to thread safety, since
BreakIterator
requires a separate clone for each thread.The text was updated successfully, but these errors were encountered: