How could I divide the value of a variable by 4. Dividing according to the number of characters.
$text = "It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.";
In the example above I would divide by 4, and it would be 31 characters for each variable. Is there any way I can reproduce this type of result automatically regardless of the content of the $text variable?