i want to split text into 2 chunks. first chunk would be the first 17 rows of text and the second one whatever is left. i can use explode("\n"), $text) to get the rows but what is the easy way to group the result? thanks in advance
array_slice
Actually, [man]explode[/man] will do the job if you use its third parameter.