diff --git a/include/utils/utils.php b/include/utils/utils.php index 48fe0998696439cc660cb12428f90a6463824b72..ba9b534e9f1f17f88ea932993b3c8cadcf415c0e 100755 --- a/include/utils/utils.php +++ b/include/utils/utils.php @@ -2307,4 +2307,12 @@ function lower_array(&$string){ if (!function_exists('split')) { function split($delim, $str) { return explode($delim, $str); } } +if (!function_exists('spliti')) { + function spliti($delim, $str) { + // TODO - Review backward compatibilty on use-cases. + $str = str_replace($delim, strtolower($delim), $str); + return explode(strtolower($delim), $str); + } +} + ?>