Sample code for 30+ languages & platforms
Visual FoxPro

Example: Http.GetDomain method

Demonstrates the GetDomain method.

Chilkat Visual FoxPro Downloads

Visual FoxPro
LOCAL loHttp
LOCAL lcDomain

loHttp = CreateObject('Chilkat.Http')

lcDomain = loHttp.GetDomain("https://chilkatsoft.com/refdoc/csharp.asp")
? lcDomain

* Output: chilkatsoft.com

RELEASE loHttp