[Issue 3704] split(char[], char[]) is broken for delimiters greater than a single character
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 24 21:38:34 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=3704
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2011-05-24 21:34:17 PDT ---
Has this been fixed? I have no problem of using delimiters with sizes greater
than 1:
This works:
import std.stdio;
import std.string;
void main()
{
foreach (item; "test test".split(" "))
{
writefln("my data: %s", item);
}
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list