JString::str_split
UTF-8 aware alternative to str_split Convert a string to an array
Signature
public function str_split(string
$str,
[integer
$split_len = 1] )
Parameters
-
$str
- UTF-8 encoded string to process
-
$split_len
- Number to characters to split string by
Returns
- array