Hi there,
I wan to extract from pdf the first n the last line. However i am trying not to use regex or table extraction. Exploring an alternative method. Please do share thanks.
Hi there,
I wan to extract from pdf the first n the last line. However i am trying not to use regex or table extraction. Exploring an alternative method. Please do share thanks.
1.Use Read PDF Text activity
2.linesArray = pdfContent.Split(Environment.NewLine.ToCharArray(), StringSplitOptions.RemoveEmptyEntries)
3.firstLine = linesArray.First()
4.lastLine = linesArray.Last()
Regards,
Use Read Pdf Text activity to read the pdf data into string
linesArray = pdfText.Split({Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries)
firstLine = linesArray(0)
lastLine = linesArray(linesArray.Length - 1)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.