I want to split the string
"abcdefgh"
to
"ab","cd","ef","gh"
using javascript split ()
"abcdefgh".split(???)
Can you help?
Instead splittry match:
split
match
var text = "abcdefgh"; print(text.match(/../g));
prints:
ab,cd,ef,gh
as you can see on Ideone .