yegor256 / cactoos

Object-Oriented Java primitives, as an alternative to Google Guava and Apache Commons
https://www.cactoos.org
MIT License
736 stars 163 forks source link

missing analog for StringUtils.splitPreserveAllTokens #1722

Open pnatashap opened 6 months ago

pnatashap commented 6 months ago

Link to the documentation https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringUtils.html#splitPreserveAllTokens-java.lang.String-char-

The difference to Split is that empty line is added in case if duplicated delimiter is presented.