Sample code for 30+ languages & platforms
Tcl

Example: Http.GetDomain method

Demonstrates the GetDomain method.

Chilkat Tcl Downloads

Tcl

load ./chilkat.dll

set http [new_CkHttp]

set domain [CkHttp_getDomain $http "https://chilkatsoft.com/refdoc/csharp.asp"]
puts "$domain"

# Output: chilkatsoft.com

delete_CkHttp $http