Using Application.OpenUrl to open a URL in a String variable

Hi,

I’m currently trying to build a simple program in Unity which gets a string from a URL, strips out the html and then passes that String variable to Application.OpenUrl to open a site I specify.

However when i tell Application.OpenUrl to open the link it does nothing, doesn’t even open the browser, like it has no data. If i hard code the link it works fine leading me to think that the way Unity handles Strings is more complex than raw text, am I right? and is there a way around this problem?

Thanks

If you are sending a string via url, look into using this: http://unity3d.com/support/documentation/ScriptReference/WWW.EscapeURL.html