Answers for "break a stringin in a new array charcter wise without using str_split in php"

PHP
3

php split string into array of characters

//Split int char array
$chars = str_split($str);

//Loop each char
foreach($chars as $char)
{
    // your code
}
Posted by: Guest on March-23-2020

Code answers related to "break a stringin in a new array charcter wise without using str_split in php"

Browse Popular Code Answers by Language