Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter FiveGeneral Functions (continued)

GetStringLength Function

Overview

The GetStringLength function returns the length of a string in characters.

Syntax/Parameters

Syntax

int = GetStringLength ( string data | wstring data );

Parameters

data

A string or wstring to get the string length.

Return Value

Returns an int containing the size of data in characters. If data is a character array, the GetStringLength function will return the length of the string within the array as zero-terminated.

Remarks

This function returns the length of the string’s content not including the terminating zero byte. When getting the length of a string defined by a character array, the length will be the number of characters until a zero byte is encountered.

Related Functions

Platform Support

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

Legato IDE, Legato Basic