Can strings be parsed into an array based on multiple delimiters? as explained in the code:
$str ="a,b c,d;e f";
//What i want is to convert this string into array
//using the delimiters space, comma, semicolon
Can strings be parsed into an array based on multiple delimiters? as explained in the code:
$str ="a,b c,d;e f";
//What i want is to convert this string into array
//using the delimiters space, comma, semicolon
strtok --> http://php.net/manual/en/function.strtok.php
PHP
CodePad.
Output