Recommended Alternative
Built-in automatic processing step [Update CSV Data] can also be used to perform the same processing. (Recommended)
The settings for generating a summary table of data counts from TSV strings in [Update CSV Data] are as follows.
- C1: Data item to enter a TSV file to which the suffix will be added
- C1a: “TSV” / “Header included”
- C1b: Table name to be called in C3 (e.g., Sales Data)
- C2: “TSV” / “Header included”
- C2: Table name to be called in C3 (e.g., Modifier)
- C3: Specify the following query after replacing “Product Name”, “Unit Price” and “Currency” with the actual column names
SELECT "Product Name", CONCAT("Unit Price", "Currency") AS "Unit Price with Currency" -- Add the "Currency" to each cell of the "Unit Price" column and store the result in the "Unit Price with Currency" column FROM "Sales Data", "Modifier" - C4: “Save the entire table to a single data item in CSV / TSV format”
- C4a: Data item to store the result TSV
- C4b: “TSV”
- C4c: “Only when necessary”
The TSV data to be input should be prepared with the column name of each column on the first line. For the TSV data to be input for “Modifiers,” please input only two lines: the column name on the first line and the string that serves as the suffix on the second line.
TSV String; Add Suffix to Column
Concatenates all data in the specified column with the suffix string to generate a new TSV string. The concatenated strings are added at the end of the line. Available for name honorifics or currency units, etc. Removes whitespace from both ends of a string.
Download
- Tsv-String-Add-Suffix-to-Column-2025.xml
- 2025-06-30 (C) Questetra, Inc. (MIT License)
- Tsv-String-Add-Suffix-to-Column-2025-onlyRemoveLF.xml (deletes only newline characters at both ends of a string.)
- 2025-06-30 (C) Questetra, Inc. (MIT License)
- //const inputText = (engine.findDataByNumber( dataIdA ) + “”).trim();
- const inputText = (engine.findDataByNumber( dataIdA ) + “”).replace(/^[\n]*/, “”).replace(/[\n]*$/, “”);
Freely modifiable JavaScript (ECMAScript) code. No warranty of any kind.
(Installing Addon Auto-Steps are available only on the Professional edition.)
(Installing Addon Auto-Steps are available only on the Professional edition.)
Notes
- If EndIndex D specified a positive number, the zero-based index before which to end extraction.
Capture


