|   | ![[ Previous ]](navbprev.gif)  ![[ Contents ]](navbhome.gif)  ![[ Index ]](navbhelp.gif)  ![[ Next ]](navbnext.gif)  | 
    char *Ns_RelativeUrl(
    char *url,
    char *location
    );
Given a URL and a location, Ns_RelativeUrl returns a pointer to the relative filename portion of the specified URL. The example below returns a pointer to /index.html.
    /* returns a pointer to /index.html */
    Ns_RelativeUrl("http://www.foo.com/index.html",
    					"http://www.foo.com");