Thank you very much! With your helps I created this function that works fine:

    // Function splitcommas()
    string[] splitcommas(string text) nothrow {
        try {
return text.splitter!(Yes.keepSeparators)(regex("[^\\s\"']+|\"([^\"]*)\"|'([^']*)'")).array.map!(x => x.replace("\"", "")).filter!(x => x.strip.length).array;
        } catch(Throwable){ return []; }
    }

Reply via email to