Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter SixFile Functions (continued)

GetURIHost Function

Overview

The GetURIHost function parses a URI and returns the authority (host name plus other items).

Syntax/Parameters

Syntax

string = GetURIHost ( string uri );

Parameters

uri

A string containing a URI with a scheme.

Return Value

Returns a string containing the domain name or an empty string on failure. Use the GetLastError function to retrieve error information.

Remarks

The URI contained in the uri parameter must have a scheme. The host is normal the same as the domain name plus any subdomain director.

If the buffer is exceeded, the GetLastError function will return ERROR_OVERFLOW.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic