wip del err
This commit is contained in:
1 parent
812736ca9a
commit
9bcd4432c6
1210 files changed
-220941
No files matched your search
@@ -1,22 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Livewire\Mapper;
|
||||
|
||||
class SearchString
|
||||
{
|
||||
public static function explode($string)
|
||||
{
|
||||
$string = str_replace([',', '/', '&'], '', $string);
|
||||
|
||||
$tmp = preg_split('/\s+/', $string, -1, PREG_SPLIT_NO_EMPTY);
|
||||
|
||||
$return = [];
|
||||
foreach ($tmp as $value) {
|
||||
if (strlen($value) > 1) {
|
||||
$return[] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user