Is it possible to use the replace() function in js with an array(like in PHP)?
Like this:
Like this:
| Code: |
| var replace=new array("...",...");
var by=new array(":::",:::"); var str="Here some text"; str.replace(replace,by); |
