Looking for help splitting a string value to columns

Hello,

I am working to make a form W-8 automation. I am using an OCR to read a PDF file. The OCR outputs a string variable with the data read by the OCR. This is a text document of the output.

My goal is to split the first line of the string from the rest of the string text as only the first line is needed for this step. I have been trying to find ways to do this but I have been unable to find answers thus far. Any advice would help.

Thanks in advance,

Chris

Edit: My first thought was to use a boolean assess whether or not the form was the type I was looking for it to be. This didn’t work since the OCR picks up the rest of the form that lists the other PDF types so all booleans get marked as true when they read the string.

Nevermind, I have found my answer.

String.Split(CChar(vblf))(0)

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