What should I do if I just want to handle a character of the string?
There are two ways to solve.
1. Use for () loop;
For ($ I = 0; $ I Char = $ STR [$ I] } ?> 2. Using regular $ Chars = preg_split ("//", $ STR); ?>
Char = $ STR [$ I]
}
?>
2. Using regular
$ Chars = preg_split ("//", $ STR);