UrlJoin

From kwiki

Jump to: navigation, search
This article is written by Konrad, thus using rather nonstandard English:)

UrlJoin (DNM Script function)

full declaration

string UrlJoin (string strPath1,string strPath2)

return value

string

description

Function joins two parts of url, in the following example the function will return exactly the same result: "C:\Windows\notepad.exe":

var $s1=UrlJoin("C:\\Windows\\","notepad.exe");
MessageBox($s1);
var $s2=UrlJoin("C:\\Windows","notepad.exe");
MessageBox($s2);
Personal tools
konradp.com