Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter FiveGeneral Functions (continued)

CollapseTabs Function

Overview

The CollapseTabs function scans a string, locates tab fill characters (0x08), and removes them.

Syntax/Parameters

Syntax

string = CollapseTabs ( string data );

Parameters

data

A source string containing the data to expand. The source cannot exceed 1,048,575 characters in size.

Return Value

Returns a string with the adjusted data and tab characters fill removed.

Remarks

Typically the backspace character (0x08) is used as fill for collapsing. This character has no storage significance and is easily removed to restore the string. The ExpandTabs function can be used to expand a string and maintain tab characters.

Related Functions

Platform Support

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

Legato IDE, Legato Basic