Swap + (plus) with space in string
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3803716/how-can-i-decode-a-url-with-jquery">How can I decode a URL with jQuery?</a>  </p>
</blockquote>



<p>Could somebody please help me to take a string (i.e. URL parameter) and remove the +(plus) or %20 to a regular space (" ")?</p>

<p>For example, to change this:</p>

<pre><code>"my+string+to+change" or "my%20string%20to%20change"
</code></pre>

<p>to this:</p>

<pre><code>"my string to change"
</code></pre>

<p>I use a lot of jQuery already, so that would be fine. Or pure javascript if that's easier.</p>
