Relevance to read all lines after specific value

Hello,

I’m stuck with a relevance problem.
I’m trying to read all lines of a file after a specific value. For example:

Some random text

[Value]
line 1
line 2
.
.
.
line n

EOF

I’d like to return line 1, line 2 until line n after the [Value] line, but I couldn’t find any Relevance to do it.
Am I missing something?

Thanks for the help.

Hello Leo96,

q: (lines of file "d:\1.txt") whose (line number of it > (line number of line whose (it = "[Value]") of file "d:\1.txt"))
A: line 1
A: line 2
A: .
A: .
A: .
A: line n

Regards,
Vitaliy

1 Like

It works perfectly!
Thanks a lot for the quick answer.

1 Like