I have this pdf that I have used pdf:extract field action to select the data below to store to the variable called descriptionvar. So what I want my final output of each loop is to show:
Message box 1(loop 1)
Premium apples
Bought from Walmart
Message box 2(loop 2)
Premium Orange
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/4b0ccbe5-7845-4a24-9f06-6a43dc576aea.png)
This is how it would appear if I just display the descriptionvar in a messagebox. I deliberately highlighted the text so you can tell there is a 1 spacing at the empty third line. Don’t know why after using pdf:extract field, it will have one spacing at that empty line.
![](https://uploads-us-west-2.insided.com/automationanywhere-en/attachment/0ec3079a-2fdd-494a-bae4-9085c2aba437.png)
I have split the string using delimiter newline and stored into the Descriptionarray. and display out each index of Descriptionarray in a message box after that. Is my steps correct so far? video is here: https://www.awesomescreenshot.com/video/17683279?key=2ad1ce65b51e96687c8c5befb23c1ccc
what do i need to do next to achieve my results?