let's say I got a 5 MB long string in memory.
I want to save it as a file with no more that 65 bytes per line.

looping sounds horrible...

is there a function doing this ?