SystemString[]

Hello,

I extracted data from a pdf using read pdf document into a variable called Text_PDF.
I would like now to split the text but the function that I am using returns SystemString into the message box.
Text_PDF.Split({Environment.NewLine},StringSplitOptions.RemoveEmptyEntries)
I have also tried
Text_PDFSplit= Split(Text_PDF,vbcrlf)
Text_PDFSplit= Split(Text_PDF,"\r\n")

No success…
Does anyone have an ideea what i can use?

Thanks!

Hi @Gabriel2,

The Split method returns an array of String. So, the variable Text_PDFSplit is an array of String.
I think you are trying to display Text_PDFSplit in the message box. Thats why its giving SystemString
You can access each element using index starting from 0 like Text_PDFSplit(0) in the message box.

Happy Coding! :slight_smile: