remove beginning of base64 javascript code example
Example: remove beginning of base64 javascript
var base64Img = "data:image/png;base64,AAA=";
base64Img = base64Img.replace("data:image/png;base64,", "");
console.log(base64Img);
var base64Img = "data:image/png;base64,AAA=";
base64Img = base64Img.replace("data:image/png;base64,", "");
console.log(base64Img);