PowerBuilder
PowerBuilder
Example: Http.GetDomain method
Demonstrates theGetDomain method.
Chilkat PowerBuilder Downloads
integer li_rc
oleobject loo_Http
string ls_Domain
loo_Http = create oleobject
li_rc = loo_Http.ConnectToNewObject("Chilkat.Http")
if li_rc < 0 then
destroy loo_Http
MessageBox("Error","Connecting to COM object failed")
return
end if
ls_Domain = loo_Http.GetDomain("https://chilkatsoft.com/refdoc/csharp.asp")
Write-Debug ls_Domain
// Output: chilkatsoft.com
destroy loo_Http