foreach over split string

JS js.mdnq at gmail.com
Wed Jul 17 07:09:26 PDT 2013


Ok, spoke too soon again,

my string requires compound splitting:

foreach(ss; split(s, ","))
{
     split(ss, "|"); // ss can't be read at compile time although 
I can use ss directly
     string a = ss; // works fine.
}


More information about the Digitalmars-d-learn mailing list