javascript search + replace without regex

str.split(search).join(replacement)

http://stackoverflow.com/a/1145525/410622

Advertisements