this question is similar to another problem i had with a creating a custom tool, in this case I'm trying to setup a couple tools to do Google searches of the selected items.
It works most of the time, however sometimes it will cause strange behaviour and i'm sure it has to do with the text strings containing weird characters.
Here's what I'm trying to do:
Name: Search Google (Artist - Title)
Path: C:\Program Files\Mozilla Firefox 3.5\firefox.exe
Parameter: http://www.google.com/search?q=$replace(%artist%, ,+)+$replace(%title%, ,+)
It's the best I could come up with. However, for example if either field has an ampersand in it, the search will break down. Obviously I could create a rule to replace '&' with '%26' but there are other problems too (a couple that i can't remember right now, but sometimes the tool will cause two different tabs to open in Firefox)
is there no string function that formats in a URL encoded format?
any advice on a good way to do this would be appreciated!