[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_RelativeUrl

Overview

Get relative filename portion of URL

Syntax

    char *Ns_RelativeUrl(
    char *url,
    char *location
    );

Description

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.

Examples

    /* returns a pointer to /index.html */
    Ns_RelativeUrl("http://www.foo.com/index.html",
    					"http://www.foo.com");
    

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.