concatenate url with increasing variable

Hello,

I just started working with KNIME. I came across a problem which I am not able to solve.

My result should be like:

https://hello.com/site&pagenum=1
https://hello.com/site&pagenum=2
https://hello.com/site&pagenum=3
ā€¦
https://hello.com/site&pagenum=21

How can I create a table with an increasing variable which has a limit f. e. 21. I know I can concatenate using string manipulation but how can I add a increasing variable to that with a specific limit.

Hope someone is able to help.

Regards.

Hi @knime_newbie_1,

You can do this with the Counter Generation node:

If you prepend that node with an Empty Table Generator you can control how many rows are created:

Take a look at the following example workflow: Counter Generation Example.knwf (10.6 KB)

best,
Gabriel