Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter FiveGeneral Functions (continued)

ConvertNoPunctuation Function

Overview

The ConvertNoPunctuation function removes punctuation from a string.

Syntax/Parameters

Syntax

string = ConvertNoPunctuation ( string data );

Parameters

data

A string to convert.

Return Value

Returns a string without any punctuation or an empty string on failure. Use the GetLastError function to retrieve error information.

Remarks

The ConvertNoPunctuation function is useful in parsing text for dictionary operations, where punctuation may interfere. Alphabetic characters (including extended latin letters), numbers, and generic white spaces (0x20/32) are retained. 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