podzielić ciąg JavaScript Nth znaków
var foo = "foofaafoofaafoofaafoofaafoofaa";
console.log( foo.match(/.{1,3}/g) );
Run code snippetHide results
Nutty Narwhal
var foo = "foofaafoofaafoofaafoofaafoofaa";
console.log( foo.match(/.{1,3}/g) );
Run code snippetHide results