engine:import:addstring
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
engine:import:addstring [2020/03/04 23:27] – [Syntax] Scott Cunliffe | engine:import:addstring [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== AddString ====== | ====== AddString ====== | ||
- | Add a special | + | Add a special |
===== Phase ===== | ===== Phase ===== | ||
Line 9: | Line 9: | ||
'' | '' | ||
- | //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 table |1|10| | + | |type| String | The special string type from the below Type Values |
|offset| Integer | The zero based offset within the record at which the filter should be applied.|1|10|-214748364 |2147483647| | |offset| Integer | The zero based offset within the record at which the filter should be applied.|1|10|-214748364 |2147483647| | ||
|filter| String | A filter value for comparison with the processed string.|1|256| | |filter| String | A filter value for comparison with the processed string.|1|256| | ||
- | ^ type Values ^ | + | ^Type Values |
^Value ^ Description ^ | ^Value ^ Description ^ | ||
|HEADER |A string that represents the first record of a heading section.| | |HEADER |A string that represents the first record of a heading section.| | ||
Line 28: | Line 25: | ||
===== Example ===== | ===== Example ===== | ||
- | **AddString: | + | Define a header (ANSI page break) with 7 records, skip records not starting with an Integer |
- | |AddString(HEADER, | + | |
- | |SetHeaderCount(7); | + | < |
- | |AddString(EXCLUSION, | + | AddString(HEADER, |
- | |AddString(TERMINATE, | + | SetHeaderCount(7); |
+ | AddString(EXCLUSION, | ||
+ | AddString(TERMINATE, | ||
+ | </ | ||
+ | |||
+ | ===== See Also ===== | ||
+ | |||
+ | [[engine: | ||
+ | [[cli: | ||
+ | [[cli: | ||
{{tag> import_engine sync_engine}} | {{tag> import_engine sync_engine}} | ||
engine/import/addstring.1583364466.txt.gz · Last modified: 2025/01/21 22:07 (external edit)