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:02] – [Syntax] Scott Cunliffeengine:import:changecase [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 2: Line 2:
 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;// \\ +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
-LOWER, UPPER, CAPITALIZED or INVERTED+|field| String | The field for this instruction.|1|128| 
 +|type| String | The special string from the below Type Values table.|1|10|
  
-|field| The field for this instruction.| +^ Type Values ^^ 
-|type| The special string type of one of the following:| +^Value ^ Description ^ 
-| |1. **LOWER** The data in the field will be converted to lower case.| +|LOWER| The data in the field will be converted to lower case.| 
-| |2. **UPPER** The data in the field will be converted to upper case.| +|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.| +|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.|+|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.1582502544.txt.gz · Last modified: 2025/01/21 22:07 (external edit)