php split a string at a specifice amount of characters code example
Example: php foreach string char
//Split int char array
$chars = str_split($str);
//Loop each char
foreach($chars as $char)
{
// your code
}
//Split int char array
$chars = str_split($str);
//Loop each char
foreach($chars as $char)
{
// your code
}