How to know extracted text has multiple lines

Hi,

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
Else
     //single line
End If

Regards,
Karthik Byggari

2 Likes

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.