Update string.utils.php

This commit is contained in:
Namhyeon Go 2019-05-04 15:22:13 +09:00 committed by GitHub
parent 871644854c
commit 968f7db690
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -173,7 +173,7 @@ if(!check_function_exists("parse_pipelined_data")) {
if(!check_function_exists("get_tokenized_text")) {
function get_tokenized_text($text, $delimiters=array(",", " ", "|", "-", "+")) {
return multi_explode($delimiters, $text);
return array_filter(multi_explode($delimiters, $text));
}
}