String.split should take option configuration parameters #10686
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-obsolete
Closed as the reported issue is no longer relevant
core-n
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
This issue was originally filed by bordo...@gmail.com
String.split should support optional parameters for modifying splitting behavior, similar to the functionality provided by com.google.common.base.Splitter in guava. For instance it would be useful to define the ability to specify that empty strings should be included in the result such that:
"/abc".split("/", includeEmpty: true) would return ["", "abc"]
The text was updated successfully, but these errors were encountered: