GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Five — General Functions (continued)
Overview
The IsEmptyString function tests if a string is effectively empty. White space, tabs and returns characters are not counted.
Syntax/Parameters
Syntax
boolean = IsEmptyString ( string data );
boolean = IsEmptyString ( wstring data );
Parameters
data
A string or wstring containing string data.
Return Value
Returns TRUE if value contains is empty (see Remarks) or FALSE if it does not.
Remarks
Prior to testing, the data parameter is trimmed for white space. If the result is no characters, then the string is empty and TRUE is returned. This is useful when the source data cannot be controlled. For example,
if (ss == "") {
... do something ...
}
Will fail if ss contains spaces, yet in a practical sense, ss is empty.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.