Inject
The ‘Inject’ task finds and replaces strings in code. It requires input tables that are saved in a ZIPPYDOC Word-by-Word table. Word-by-Word tables are also designated as ‘Text’ tables.
To import and store code, the ZIPPYDOC plattform converts this text into a Word-by-Word table that contains one column with all Words and a second column with the following Non-Word. This format is very powerful to wrangle with text or code. With Extract Task it is easy to wrangle with code, as it allows to extract code snippets based on certain framing conditions, e.g. if the code-snippet was contained in a pattern like f(x){} or in a pattern like <tag> x <\tag>.
The ‘Inject’ task is complemented by the ‘Extract’ task, which only allows to extract, not to insert code based on framing patterns.
Go to Flow Gallery and Copy & Edit the Inject Flow for example usecases.