in reply to Re: isolating strings
in thread isolating strings

Or to avoid matching twice:
while (<INFILE>) { if (s/^.*$String//) { print; } }