I'm scraping data from a table and passing it to a variable so it can later be processed. The issue is that the rows/strings use commas to separate each element (the only available option from what I see), but some of the individual elements in my dataset also use commas whenever they contain multiple values. As a result, my data is getting messed up when I use 'Split text' to manipulate each of the elements in my table as I'm getting a different number of values in each row. For example:
Jon, 19, Law, New York, football, basketball, baseball
Mary, 22, Accounting, tennis
Peter, 20, Engineering, ping pong, running
The sports should be part of one value, meaning I should have 4 values in each row. PAD is giving 7 values in row 1, 4 values in row 2 and 5 values in row 3. That's a problem. Is there any workaround for this when using variables? As a worst-case scenario I guess I'd have to save the data in Excel, change the delimiter there and then pass the data back to PAD but that's crazy considering how handy variables can be directly in PAD. I'm surprised we can't change the delimiter for variables? Thanks a lot!