I need to split a String into an array of single character Strings and get count of splitted charcters .
Eg, splitting "character" would give the array "c", "h", "a", "r", "a", "c", "t", "e", "r".
EDIT
Is it possible to get count splitted string characters using inbuilt functions?
Array ( [c] => 2 [h] => 1 [a] => 2 [r] => 2 [t] => 1 [e] => 1 )
Use
str_splitTry
count_chars:The above example will output: