added explodeFIO func
This commit is contained in:
parent
1524a94db0
commit
3fa296423b
@ -427,4 +427,17 @@ class ICrmOrderActions
|
||||
|
||||
return $APPLICATION->ConvertCharset($str, 'utf-8', SITE_CHARSET);
|
||||
}
|
||||
|
||||
public static function expodeFIO($str) {
|
||||
if(!$str)
|
||||
return array();
|
||||
|
||||
$array = expolde(" ", ICrmOrderActions::toJSON($str), 3);
|
||||
|
||||
foreach($array as &$ar)
|
||||
if(!$ar)
|
||||
unset($ar);
|
||||
|
||||
return $array;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user