From 20a57f56e96b93e2230fda6415bd98d907eea9e4 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Sun, 27 May 2018 02:04:05 +0900 Subject: [PATCH] Update string.utl.php --- helper/string.utl.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helper/string.utl.php b/helper/string.utl.php index 80665b8..5201644 100644 --- a/helper/string.utl.php +++ b/helper/string.utl.php @@ -65,14 +65,14 @@ if(!function_exists("get_cutted_string")) { } } -if(!function_exists("explode_string_lines")) { - function explode_string_lines($str) { +if(!function_exists("explode_by_line")) { + function explode_by_line($str) { return preg_split('/\n|\r\n?/', $str); } } if(!function_exists("read_storage_file_by_line")) { function read_storage_file_by_line($filename, $options=array()) { - return explode_string_lines(read_storage_file($filename, $options)); + return explode_by_line(read_storage_file($filename, $options)); } }