how to remove 20 from url in javascript code example Example: javascript how to deal with %20 in string decodeURI(str)