how to chunk a base 64 in javascript code example
Example: how to chunk a base 64 in javascript
function chunkString(str, length) {
return str.match(new RegExp('.{1,' + length + '}', 'g'));
}
function chunkString(str, length) {
return str.match(new RegExp('.{1,' + length + '}', 'g'));
}