I’d like to split a string into an array using a function like str_getcsv(), but where you can pass in multiple delimiters. For instance you’d pass in array(“,”, "\ ") to set both commas and tabs as delimiters. And you would pass the enclosure and escape characters, just as in str_getcsv().
Is there a function or library that can do this?