[Issue 4317] Calling std.string.split with static array for separator fails to compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 24 21:03:51 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=4317


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich at gmail.com
         Resolution|                            |INVALID


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2011-05-24 20:59:35 PDT ---
You have to pass a slice, e.g.:

      string[] sa = split("split me now", foo[]);

and:

  split("some string", whitespace[])

-- 
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