[Issue 16587] split("", "x") should be ""

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Oct 3 15:10:55 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16587

--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> ---
Example real-life scenarios:

- Comma-delimited lists in program arguments or configuration files. The string
variables will be empty unless populated, then split afterwards.

- `libPaths ~= environment.get("LIBPATH", null).split(":")` will now search the
current directory.

--


More information about the Digitalmars-d-bugs mailing list