TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:import:addtranslation

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:addtranslation [2020/03/05 01:32] – [Syntax] Scott Cunliffeengine:import:addtranslation [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 35: Line 35:
 ===== Example ===== ===== Example =====
 Append L3 to each VOLUME field if the value starts with a zero. Append L3 to each VOLUME field if the value starts with a zero.
-<sxh>AddTranslation(VOLUME, "0*", "*L3");</sxh>+<code>AddTranslation(VOLUME, "0*", "*L3");</code>
  
 Truncate a VOLUME field to 6 characters when the Volume-ID starts with an A. Truncate a VOLUME field to 6 characters when the Volume-ID starts with an A.
  
-<sxh>+<code>
 AddTranslation(VOLUME, "A*", "~~~~~~"); AddTranslation(VOLUME, "A*", "~~~~~~");
-</sxh>+</code>
  
  
 Remove the first 3 characters from a [[object:volume|Volume-ID]] A12345678 and add suffix L4 Remove the first 3 characters from a [[object:volume|Volume-ID]] A12345678 and add suffix L4
  
-<sxh>+<code>
 AddTranslation(VOLUME, "A*", "^^^~~~~~~L4"); AddTranslation(VOLUME, "A*", "^^^~~~~~~L4");
-</sxh>+</code>
  
 ===== See Also ===== ===== See Also =====
engine/import/addtranslation.1583371930.txt.gz · Last modified: 2025/01/21 22:07 (external edit)