Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FiveGeneral Functions (continued)

ConvertFromUnderbars Function

Overview

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

Syntax/Parameters

Syntax

string = ConvertFromUnderbars ( string data );

Parameters

data

A string to convert.

Return Value

Returns a string with the underscore characters converted to spaces. Use the IsError and GetLastError functions to determine if an error occurred and to retrieve error information.

If the string overflows, the buffer will be clipped at the 2MB limit.

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