items
simpleCart.chunk( str , chunk_size )
arguments:
- string: string to be broken up
- chunk_size: max size of chunk
returns:
- array of strings, each which a max length of chunk_size
simpleCart.chunk( "abcdef" , 2 ): // returns ["ab" , "cd" , "ef" ]
Oct 06, 2012
great script