Hi All, was hoping you could help clear things up regarding the SPGetQueryString function--specifically the line that uses the 'replace' method. The line currently is written as...
queryStringVals[matches] = unescape(matches).replace('+', ' ');
It seems in this configuration it's only replacing the first instance of the '+' symbol in the target string. I'm wondering if the following might work better:
queryStringVals[matches] = unescape(matches).replace(/\+/g,' ');
In the modified case, it performs a global replace on the target string to replace all instances of the '+' symbol. Now, that being said, I am admittedly a rookie when it comes to RegExp so I may be way off the mark here. Any thoughts?