Member since 02/09/2010

Name: Chris Leuenberger

Location: Switzerland


1 snippets

1457 profile views

1 Comment(s) Posted

View their favorites



first submission:submitting first snipplet

chlab's Recent SnippetsTagged javascript

« 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 640 posted 13 years ago by chlab
« Prev 1 Next »