TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:import:changecase

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
engine:import:changecase [2018/08/14 22:38] dcummingengine:import:changecase [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-changecase +====== ChangeCase ======
- +
-==== ChangeCase ====+
 Change the case of a field. Change the case of a field.
  
-==== Phase ==== +===== Phase ===== 
-This instruction is used by the TapeTrack Import Engine.+This instruction is used by the TapeTrack INI Engine.
  
-==== Syntax ==== +===== Syntax ===== 
-**ChangeCase**//(field, type);// +''ChangeCase(field, type);''
-//string field;//\\ +
-//string type;//\\ +
-LOWER, UPPER, CAPITALIZED or INVERTED+
  
-|field| The field for this instruction.| +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
-|type| The special string type of one of the following:| +|field| String | The field for this instruction.|1|128
-| |1. **LOWER** The data in the field will be converted to lower case.| +|type| String | The special string from the below Type Values table.|1|10| 
-|2. **UPPER** The data in the field will be converted to upper case.| + 
-| |3. **CAPITALIZED** The data in the field will be converted so that the first letter of each word is capitalized.| +^ Type Values ^^ 
-| |4. **INVERTED** The data in the field will be converted so that any upper case character will be lower case and vice versa.|+^Value ^ Description ^ 
 +|LOWERThe data in the field will be converted to lower case.| 
 +|UPPERThe 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 ==== ==== Example ====
-**ChangeCase: Capitalize the value of the DESCRIPTION field.** + 
-|ChangeCase(DESCRIPTION, CAPITALIZE);|+To change the Description value ''my description value'' to ''My Description Value'' 
 + 
 +<code> 
 +ChangeCase(DESCRIPTION, CAPITALIZE); 
 +</code> 
 + 
 +===== See Also ===== 
 + 
 +[[engine:import|Import Engine Functions]] \\ 
 +[[cli:sync_fields|Sync Engine Fields]] \\ 
 +[[cli:tmss10sync|TMSS10Sync]] 
 + 
 +{{tag> import_engine}}
engine/import/changecase.1534286310.txt.gz · Last modified: 2025/01/21 22:07 (external edit)