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 [2020/02/24 00:31] – [Example] Scott Cunliffeengine:import:changecase [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 3: Line 3:
  
 ===== 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;// \\+^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
 +|field| String | The field for this instruction.|1|128| 
 +|type| String | The special string from the below Type Values table.|1|10|
  
-//string type;// \\ +^ Type Values ^^ 
-LOWER, UPPER, CAPITALIZED or INVERTED +^Value ^ Description ^ 
- +|LOWER| The data in the field will be converted to lower case.| 
-|fieldThe field for this instruction.| +|UPPER| The data in the field will be converted to upper case.| 
-|type| The special string type of one of the following:+|CAPITALIZED| The data in the field will be converted so that the first letter of each word is capitalized.| 
-| |1. **LOWER** The data in the field will be converted to lower case.| +|INVERTED| The data in the field will be converted so that any upper case character will be lower case and vice versa.|
-| |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.| +
-| |4. **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}} {{tag> import_engine}}
engine/import/changecase.1582504316.txt.gz · Last modified: 2025/01/21 22:07 (external edit)