Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter FiveGeneral Functions (continued)

StringToQuotedString Function

Overview

The StringToQuotedString function takes a string and encapsulates it in quotes with extra simple encoding.

Syntax/Parameters

Syntax

string = StringToQuotedString ( string source );

Parameters

source

A string to be encapsulated.

Return Value

Returns a string that is the encoded version of source as specified. The last error code will contain either an error or the size of the resulting string. Use the GetLastError function to retrieve the value.

Remarks

The function will encode straight quotes or backslashes contained within the string.

Size is limited to 1mb.

Related Functions

Platform Support

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

Legato IDE, Legato Basic