Update string.utl.php
This commit is contained in:
parent
74c1cb6744
commit
f2c6335f9d
|
@ -121,3 +121,11 @@ if(!function_exists("endsWith")) {
|
||||||
return (substr($haystack, -$length) === $needle);
|
return (substr($haystack, -$length) === $needle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!function_exists("multiexplode")) {
|
||||||
|
function multiexplode($delimiters,$string) {
|
||||||
|
$ready = str_replace($delimiters, $delimiters[0], $string);
|
||||||
|
$launch = explode($delimiters[0], $ready);
|
||||||
|
return $launch;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user