Objective-C
Objective-C
Example: Http.GetUrlPath method
Demonstrates theGetUrlPath method.
Chilkat Objective-C Downloads
#import <CkoHttp.h>
#import <NSString.h>
BOOL success = NO;
CkoHttp *http = [[CkoHttp alloc] init];
NSString *url = @"https://example.com/folder/page?lang=en&sort=asc#section2";
NSLog(@"%@",[http GetUrlPath: url]);
// Output:
// /folder/page