Answer the question
In order to leave comments, you need to log in
Convert text to array?
There is a function str_split();
that converts a string to an array.
When used:
Output:
print_r(str_split("тест"));
Array
(
[0] => ?1?
[1] => ?2?
[2] => ?1?
[3] => ?2?
[4] => ?1?
[5] => ?2?
[6] => ?1?
[7] => ?2?
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question