Hi,
Example:
I need get number of line where “abab” word is located.
Please help.
split the text within an array strTextVar.Split({Environment.NewLine}, StringSplitOptions.None) - arrLines
assign activity
idx =
arrLines.ToList.FindIndex(Function (x) x.Equals("abab"))
Hi @Paulina_x,
Check this sample,
GetLineNoOfText.xaml (5.3 KB)
HI @Paulina_x
The word you are searching for will always in the starting right?
Try this
Hope this helps
Regards
Gokul