how to replace 20 with space in javascript code example Example: javascript string spaces replace with %20 string.replace()