Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to chunk a base 64 in javascript

function chunkString(str, length) {
  return str.match(new RegExp('.{1,' + length + '}', 'g'));
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #chunk #base #javascript
ADD COMMENT
Topic
Name
6+1 =