NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Mike Grigsby on February 24, 2013, 06:55:16 PM
-
I can't for the life of me recall how to submit a path to the object and have it returned with front slashes. I can build my own, but thought I should know for future use. Do you happen to recall? Thank you!
-
Mike, I'm not understanding the question mate - can you elaborate a bit?
-
I thought I recalled a function that converted a string, like a path, from backslashes to front slashes, for use in a url.
In my case, I wanted to display a helpfile which is an html.
For example, something like...
p_web.backtofrontslash(l_URLTohtmlhelp,l_PathTohtmlhelp)
-
I think you're thinking of the
url = p_web._MakeUrl(url)
method.
This converts \ to /, makes sure there's one only one ? for parameters, and prepends the url with http:// if it starts with www.