engine:import:changecase
This is an old revision of the document!
Table of Contents
ChangeCase
Change the case of a field.
Phase
This instruction is used by the TapeTrack Import Engine.
Syntax
ChangeCase(field, type);
string field;
string type;
LOWER, UPPER, CAPITALIZED or INVERTED
Variable | Type | Description | Min Length | Max Length |
---|---|---|---|---|
field | String | The field for this instruction. | 1 | 128 |
type | The special string from the below Type Values table. | 1 | 10 |
Type Values | |
---|---|
Value | Description |
LOWER | The data in the field will be converted to lower case. |
UPPER | The data in the field will be converted to upper case. |
CAPITALIZED | The data in the field will be converted so that the first letter of each word is capitalized. |
INVERTED | The data in the field will be converted so that any upper case character will be lower case and vice versa. |
Example
To change the Description value my description value
to My Description Value
ChangeCase(DESCRIPTION, CAPITALIZE); |
engine/import/changecase.1583372888.txt.gz · Last modified: 2025/01/21 22:07 (external edit)