Breaking Text into Chunks
Tuesday October 14, 2008
Usually when writing something in code the text is broken up into a number of chunks each of which contains the same number of characters.
There are of course other reasons why you might want to split up a string of text into a number of pieces that all contain the same number of characters. We can easily add our own method to JavaScript that will do this with just a couple of lines of code.
Breaking Text into Chunks


Comments
No comments yet. Leave a Comment