Rust
Rust
Example: Http.GetUrlPath method
Demonstrates theGetUrlPath method.
Chilkat Rust Downloads
let http = chilkat::Http::new();
let url = "https://example.com/folder/page?lang=en&sort=asc#section2".to_string();
println!("{}", http.get_url_path(&url).unwrap_or_default());
// Output:
// /folder/page