JavaScript: replace()
I always forget that replace() exists. And when I do remember, I can't work out how to use it. Until recently...
What is it?
It pretty much does what it says on the tin: you can use it to replace a string with another string. Or part of a string with...
blog.nicm42.me.uk4 min read