How to split text or json into multiple strings of max 3000 characters?

I know there is the split( function but I cannot figure out how to use it to create batches of text of max(3000 characters so I can send these to different modules and merge the outputs later.

Here is the solution. Use Repeater and SubString functions.

Watch how it works: Loom | Free Screen & Video Recording Software | Loom


It worked, thanks a lot! you’re amazing :+1:

1 Like

BTW. Any idea how to filter these batches of text from the Set Variable module using a router module?

There is nothing in the text that I could use for [Var] variable value, but maybe somehow it’s possible to filter by [Operation] number?