Profile
Achievement
chlab's Recent SnippetsTagged array
- All /
« Prev 1 Next »
I needed to break down a long string today and insert line breaks so I wrote this little function. You can use it to split a long string into chunks of a defined length and get them as an array or join them by a defined character (e.g. <br />)....
0
971
posted 14 years ago by chlab