If i have a paragraph i need it to divide it into 3 equal parts (by characters).
This is my string
$string="this is my long text this is my long text this
is my long text this is my long text
this is my long text this is my
long text this is my long text this is my long text
this is my long text this is my long text";
What i need is:
- Equal characters in 3 parts or
- 35% in part1, 35% in part2 and 30% in part3 (3 parts - by characters not by word or string)
Any experts ?
Check this one also