Swift
Swift
Example: Http.GetDomain method
Demonstrates theGetDomain method.
Chilkat Swift Downloads
func chilkatTest() {
let http = CkoHttp()!
var domain: String? = http.getDomain(url: "https://chilkatsoft.com/refdoc/csharp.asp")
print("\(domain!)")
// Output: chilkatsoft.com
}