Hello Friends,
I need to extract the first line in text. the first line varies in length because I am running the loop to extract text from different pdf pages, e.g. first line can be 2 yrs or 2 years 6 months. Is there any easy workaround this.
Hello Friends,
I need to extract the first line in text. the first line varies in length because I am running the loop to extract text from different pdf pages, e.g. first line can be 2 yrs or 2 years 6 months. Is there any easy workaround this.
Try below :
FirsLineText = YourStringVariable.Split(VbNewLine.ToCharArray,StringSplitOptions.RemoveEmptyEntries)(0)
Thanks.!
Ramprasad
Thanks…this works
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.