Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter SixFile Functions (continued)

URIQueryToArray Function

Overview

The URIQueryToArray function parses a URI query and returns an array of query key=value pairs.

Syntax/Parameters

Syntax

string[] = URIQueryToArray ( string data );

Parameters

data

A string containing a URI query string with or without leading ‘?’ delimiter.

Return Value

Returns a string array containing key and values. On error an empty array will be returned. Use the GetLastError and GetLastErrorMessage functions to retrieve error information.

Remarks

The query string is systematically parsed with key value place in the resulting array with the query key set as the array element key name.

Note that the query’s key values cannot exceed the size limit for an internal array key name.

Related Functions

Platform Support

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

Legato IDE, Legato Basic