[Issue 12865] splitLines returns empty array on empty string
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Nov 21 06:40:53 PST 2015
https://issues.dlang.org/show_bug.cgi?id=12865
bb.temp at gmx.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bb.temp at gmx.com
Resolution|--- |INVALID
--- Comment #2 from bb.temp at gmx.com ---
No your wrong Temtaime,because [``] as result would mean that the input
argument contained one empty string:
_______________
import std.string;
void main()
{
assert( splitLines("\n") == [``]); // ok
}
_______________
--
More information about the Digitalmars-d-bugs
mailing list