Split a text field from database in pages

I have text field in database, where I have let’s say 5000 words.
I want to split this text having 5000 words in pages, each one having 500 words.
How can I realise this ?
A practical example would be appreciate !
Thank you in advance.

You could do this with explode (to convert the string to an array) and array_chunk (to split the array into 10).