|
|
@ -44,7 +44,12 @@ class HelperService implements HelperServiceInterface |
|
|
function (array $match) { |
|
|
function (array $match) { |
|
|
return strlen($match[0]) >= 4 ? '' : $match[0]; |
|
|
return strlen($match[0]) >= 4 ? '' : $match[0]; |
|
|
}, |
|
|
}, |
|
|
$str); |
|
|
|
|
|
|
|
|
$str |
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
$search = array(" "," ","\n","\r","\t"); |
|
|
|
|
|
$replace = array("","","","",""); |
|
|
|
|
|
$str = str_replace($search, $replace, $str); |
|
|
|
|
|
|
|
|
return $str; |
|
|
return $str; |
|
|
} |
|
|
} |