have a string which can have more than 300 records
In this case, i need to split the record and each record should be maximum 300
and then these 300 records needs to be inputted to a website
but everytime only 300 should be inputted and innext iteration again 300 and so on
How to achieve it?
Can you share input and expected output, then we can understand easily.
Create a DataTable or collection from your input text. Iterate through the data in batches of 300 items.
- In the first iteration, select the first 300 items (skip 0).
- In the second iteration, pick the next 300 items, skipping the initial 300.
- In the third iteration, take another 300 items, skipping the first 600.
How to do this ?
In for each loop ?
Can you please help
I am stuck from yesterday
Hii,use generate data table from text activity to get datatable from the string