Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter SixFile Functions (continued)

GetURIPath Function

Overview

The GetURIPath function will return the path and filename section of a URI if available.

Syntax/Parameters

Syntax

string = GetURIPath ( string uri );

Parameters

uri

A string containing a complete or partial URI.

Return Value

Returns a string containing only the filename and path portion of the URI or an empty string on failure. Use the GetLastError function to retrieve error information.

Remarks

The URI does not have to be fully qualified. If the buffer is exceeded, the GetLastError function will return ERROR_OVERFLOW. The GetURIPath function will return an empty string if the uri parameter does not contain a path; use the GetLastError function to determine if an error occurred.

Related Functions

Platform Support

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

Legato IDE, Legato Basic