lazySplit method
A version of String.split that returns an Iterable
to tokenize the
String lazily.
Implementation
Iterable<String> lazySplit(Pattern separatorPattern) sync* {
for (var tokenInterval in _lazySplit(separatorPattern)) {
yield substring(tokenInterval.start, tokenInterval.end);
}
}