Hi!
I have made a robot that downloads PDF files from emails, and then reads the data. The data is then passed onto a string.
However, the PDF data is seperated by rows, for example it looks like this:
Customernumber
1234
Bookingday
2019-04-24
Deliveryday
2019-05-02
I want to make customernumber, bookingday and deliveryday variables and I want 1234, 2019-04-24, 2019-05-02 to be the value of those variables.
How can I create a data table that takes the first row as variable name, and then second as value and then makes the third line a variable again.
Unfortunately, it’s not always every second line being a variable / value.
For example one PDF looks like this:
customernumber
1234
bookingday
2019-04-24
deliveryday
2019-05-02
Recipient
Bill Belichick
Street Name 9
123456 New York
UNITED STATES
Easiest way would be to look for the customernumber and then take any text below that as value until “bookingdate” appears, but what’s the best practice of doing so?
Thanks, Emil