[Issue 5054] Splitter example doesn't work
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 14 10:59:29 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5054
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #1 from bearophile_hugs at eml.cc 2010-10-14 10:58:55 PDT ---
Your code has some bugs, try this:
import std.algorithm;
void main() {
assert(equal(splitter("hello world", ' '), ["hello", "", "world"]));
}
Unless you have other problems, you may close this bug report as ivalid.
--
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