Rows mixed together when getting specific content in a PDF file

For example, I want to extract rows in a block, however the Get Text Activity returns a whole block.
%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20190313163540 %E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20190313163524 image

This is a invoice.

@gareth_Hua

You can split the whole output string with newline (’\n’) parameter. This will help you to retrieve each line item.

Thank you! It’s a good idea! I split them into a string array, but how can I do to abandon the first string in the array which is the title?

@gareth_Hua

If the title will be always come in first row, then you can skip the first item of array using some sort of conditions like counter or array[0]th position.

1 Like

thanks!:grin:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.