Lua
Lua
Example: Http.GetUrlPath method
Demonstrates theGetUrlPath method.
Chilkat Lua Downloads
local chilkat = require("chilkat")
local success = false
local http = chilkat.Http.new()
local url = "https://example.com/folder/page?lang=en&sort=asc#section2"
print(http:get_url_path(url))
-- Output:
-- /folder/page