Sample code for 30+ languages & platforms
Unicode C++

Example: Http.GetUrlPath method

Demonstrates the GetUrlPath method.

Chilkat Unicode C++ Downloads

Unicode C++
#include <CkHttpW.h>

void ChilkatSample(void)
    {
    bool success = false;

    CkHttpW http;
    const wchar_t *url = L"https://example.com/folder/page?lang=en&sort=asc#section2";
    wprintf(L"%s\n",http.getUrlPath(url));

    //  Output:

    //  /folder/page
    }