Used datascraping to extract a table.
howeverm it only managed to extract everything in a column only.
How should i split them into the respective columns?
Hi, i cant share the UI, but there was no way to extract the table, the only way im able to extarct is the outcome only with 1 column(all other column’s data squeezed into 1). but what about if we extract as 1 column then use some logic to split it?
hi somehow i tried debug and it works. what if, there may be different no of rows/columns in the future? i just need to change the 5 to the new number of columns, but for rows? no. of columns would rarely change, but the rows tends to be different most of the times.
In the above sample, number of row of result datatable is calculated from number of columns : 5 and total rows. So, this assumes there is no empty cell in the result datatable.
You can use “Generate Data Table from Text” Activity. In which you can pass your string Variable which contains Data Table data and use seprator as New Line. Save the Output in the new Variable of type Datatable.