Keys →
Functions ↓
function explodes ( $delims, $str, $lim="" ) {#-k parse string#- Whichever of these delimiters are in the string, replace them with the first one, them explode string#- This can be used to explode file paths in either Windows or Unix slash delimeters.#-p $delims - req - delimeter string#-p $str - req - string to be exploded#-p $lim - opt - max # explodes to perform#-p - ret - Array of exploded parts of $str $exp = str_replace ( $delims, $delims[0], $str ); $arr = explode ( $delims[0], $exp, $lim ); return $arr; }?>