Sample code for 30+ languages & platforms
AutoIt

Example: Http.GetUrlPath method

Demonstrates the GetUrlPath method.

Chilkat AutoIt Downloads

AutoIt
Local $bSuccess = False

$oHttp = ObjCreate("Chilkat.Http")
Local $sUrl = "https://example.com/folder/page?lang=en&sort=asc#section2"
ConsoleWrite($oHttp.GetUrlPath($sUrl) & @CRLF)

; Output:

; /folder/page