Visual FoxPro
Visual FoxPro
Example: Http.GetUrlPath method
Demonstrates theGetUrlPath method.
Chilkat Visual FoxPro Downloads
LOCAL lnSuccess
LOCAL loHttp
LOCAL lcUrl
lnSuccess = 0
loHttp = CreateObject('Chilkat.Http')
lcUrl = "https://example.com/folder/page?lang=en&sort=asc#section2"
? loHttp.GetUrlPath(lcUrl)
* Output:
* /folder/page
RELEASE loHttp