Hi.

What I want to wrap a certain string after say 78 characters that "\n\r" is appended to it after each 78 characters, chunk_split() is the answer but it truncates the WORDS, I want that to do it after "space" or "new line" character, how can that be achieved.

Thanx