Page 1 of 1

String split

Posted: Sat Nov 06, 2004 11:09 am
by Shendemiar
How can i add space to a long continuous string.

Lets say i want add   or " " each 40th char?



Splitting the string into an array would also do.

Posted: Sat Nov 06, 2004 11:26 am
by Shendemiar
chunk_split

wordwrap with cut