How to know extracted text has multiple lines


please help me. I want to know how my extracted text has one line or more than one line. I am new to uipath.

You can use string.Split(ā€œ\nā€) and store the values into an array.

If array length is 1, then one line.
If array length is more than 1, multiple lines.

If arrText.Length > 1 Then
     //multiple lines
     //single line
End If

Karthik Byggari


Exactly what I am looking for.
Thank you @KarthikByggari

1 Like

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