How to find the nth occurence of a string

Eric Bouyoux eric.bouyoux at insidefr.com
Fri Oct 13 14:05:51 CEST 2006


Hi,

Has anybody already written a macro that help to find the nth occurence
ofa string ?

Ex :

File contains :
1234
5678
9ABC lqdgjqgfh
1234
ffffffff fffff

I want to go to the 2nd occurence of string 1234 (line 4 of file).

Regards.

Eric.


More information about the Discuss mailing list