Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter FiveGeneral Functions (continued)

ConvertToUnderbars Function

Overview

The ConvertToUnderbars function converts space characters (0x20/32, ‘ ’) to underscores (underbars, ‘_’) within a string.

Syntax/Parameters

Syntax

string = ConvertToUnderbars ( string data );

Parameters

data

A string.

Return Value

Returns a string with the spaces converted to underscore characters or an empty string on failure. Use the GetLastError function to retrieve error information.

Remarks

The return string has a maximum size of 2MB. 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