GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Five — General Functions (continued)
Overview
The ChangeCase function alters the case of a string based on a number of modes.
Syntax/Parameters
Syntax
string = ChangeCase ( string data, [dword flags] );
Parameters
data
A string to convert.
flags
An optional dword that specifies the mode. The default mode is CASE_CHANGE_TITLE. The following the are possible flags:
Term | Bits | Description | |||||
Mode: | |||||||
CASE_CHANGE_MODE_MASK | 0x0000000F | Mask for case mode | |||||
CASE_CHANGE_LOWER | 0x00000002 | Lower | |||||
CASE_CHANGE_UPPER | 0x00000003 | Upper | |||||
CASE_CHANGE_SENTENCE | 0x00000004 | Sentence | |||||
CASE_CHANGE_INITIAL | 0x00000005 | Initial | |||||
CASE_CHANGE_TITLE | 0x00000006 | Title | |||||
Flags (bitwise): | |||||||
CASE_CHANGE_SGML | 0x10000000 | Treat as SGML/HTML |
Return Value
Returns a string that contains the altered version of data.
Remarks
This difference from the MakeLowerCase or MakeUpperCase functions in that other modes are supported. The flags can be one of the mode values and an option flag OR’ed in with the flags.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
Page revised 2024-12-13
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.