How to split strings at specific intervals to arrays in javascript
Posted
by
t3st
on Stack Overflow
See other posts from Stack Overflow
or by t3st
Published on 2012-07-07T07:19:53Z
Indexed on
2012/07/07
9:16 UTC
Read the original article
Hit count: 184
javascript-events
|split
how to split strings at specific interveals to arrays in javascript
for example: split this string into 4 characters (including space and characters)
this is an example should be split,numbers(123),space,characters also included
to
this ------> 1st array
is ------> 2nd array
an ------> 3rd array
exam ------> 4th array
ple ------> 5th array
shou ------> 6th array ............ etc till.....
..ed ------> last array
© Stack Overflow or respective owner