Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter FiveGeneral Functions (continued)

IsSGMLCharacterEntity Function

Overview

The IsSGMLCharacterEntity function tests if a string contains the proper format for an SGML character entity.

Syntax/Parameters

Syntax

boolean = IsSGMLCharacterEntity ( string value );

Parameters

value

A string to test.

Return Value

Returns TRUE if value contains the proper format of an SGML character entity or FALSE if it does not.

Remarks

The IsSGMLCharacterEntity function checks that a string contains the proper formatting of an SGML character entity (for example, ““”). Specifically it must begin with a ‘&’ character, followed by either a ‘#’ or alphabetic character and then a sequence of numeric or alphabetic character. The entity must end in a semicolon (“;”).

The IsSGMLCharacterEntity function does not test if the character entity is a valid entity.

Related Functions

Platform Support

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

Legato IDE, Legato Basic