Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript split string into groups of n

str.match(/.{1,3}/g)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #split #string #groups
ADD COMMENT
Topic
Name
9+5 =