Find Row Number in Notepad

I need to know row number of a particular string(variable in length) as I know the index number in Notepad. In the attached screenshot for example I need the row number for values “123.19” and “105.11”

Read the text file and split by new line, iterate through each line check whether line contains the required value.


Sorry I don’t have the value to be searched but only have the Index number for the value. Let’s say I have the index value at 328 and need corresponding line or row number.

Split by new line
Use for each and get the characters count in each line and keep on add te count till you reach or exceed the index.
Once you reached the required index get the line number use break activity to come out of for each (2.6 KB)

Check this file it may help you to understand.