TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:import:addstring

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:addstring [2020/03/04 23:28] – [Syntax] Scott Cunliffeengine:import:addstring [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== AddString ====== ====== AddString ======
  
-Add a special string such as an exclusion or header string.+Add a special String such as an Exclusion or Header String.
  
 ===== Phase ===== ===== Phase =====
Line 9: Line 9:
 ''AddString(type, offset, filter);'' ''AddString(type, offset, filter);''
  
-//string type;//\\ 
-//integer offset;//\\ 
-//string filter;//\\ 
 ^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ Min Value ^ Max Value ^ ^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ Min Value ^ Max Value ^
 |type| String | The special string type from the below Type Values table |1|10| |type| String | The special string type from the below Type Values table |1|10|
Line 28: Line 25:
 ===== Example ===== ===== Example =====
  
-**AddString: Define a header (ANSI page break) with 7 records, skip records not starting with an integer and terminate processing at the first blank record**\\ +Define a header (ANSI page break) with 7 records, skip records not starting with an Integer and terminate processing at the first blank record
-|AddString(HEADER, 0, "1*");| + 
-|SetHeaderCount(7);| +<code> 
-|AddString(EXCLUSION, 0, "!([0-9]*");| +AddString(HEADER, 0, "1*"); 
-|AddString(TERMINATE, 0, "                   *");|+SetHeaderCount(7); 
 +AddString(EXCLUSION, 0, "!([0-9]*"); 
 +AddString(TERMINATE, 0, "                   *"); 
 +</code> 
 + 
 +===== See Also ===== 
 + 
 +[[engine:import|Import Engine Functions]] \\ 
 +[[cli:sync_fields|Sync Engine Fields]] \\ 
 +[[cli:tmss10sync|TMSS10Sync]]
  
 {{tag> import_engine sync_engine}} {{tag> import_engine sync_engine}}
  
engine/import/addstring.1583364510.txt.gz · Last modified: 2025/01/21 22:07 (external edit)