Sample code for 30+ languages & platforms
Xojo Plugin

Example: Http.GetUrlPath method

Demonstrates the GetUrlPath method.

Chilkat Xojo Plugin Downloads

Xojo Plugin
Dim success As Boolean
success = False

Dim http As New Chilkat.Http
Dim url As String
url = "https://example.com/folder/page?lang=en&sort=asc#section2"
System.DebugLog(http.GetUrlPath(url))

// Output:

// /folder/page