JString::str_split

UTF-8 aware alternative to str_split Convert a string to an array