Tcl
Tcl
Example: Http.GetUrlPath method
Demonstrates theGetUrlPath method.
Chilkat Tcl Downloads
load ./chilkat.dll
set success 0
set http [new_CkHttp]
set url "https://example.com/folder/page?lang=en&sort=asc#section2"
puts [CkHttp_getUrlPath $http $url]
# Output:
# /folder/page
delete_CkHttp $http