by danielrw7 · 10y ago · 0 comments
box = box.replace(/#/g, function() {
i++
if (str[i]) {
return str[i]
} else {
return "";
}
});
It would be cool if you could select which characters (or all characters except for space) will be replaced with the data URI.