I need to do some bulk replacement with Javascript. For my specific problem, let's assume I need to replace a specific substring. I need to change every occurrence of "blue" to "green."
So, I have two ways to do it:
var foo = pegaTexto(); /...
asked on
10.02.2014 / 22:07