09-10-2010, 01:24 PM
Macro Macro1474
str f="$temp$\big.txt"
str String="quickmacros"
;----------------------------
;This code creates file for testing. Delete this code if you already have the file.
_s=
;qqqq wwwww
;eee quickmacros ffffffff
;gggg hhhhhhhh
if !dir(f)
,_s.setfile(f)
;----------------------------
str s.getfile(f) line
if(findrx(s F"^.*\Q{String}\E[^\r\n]*$" 0 8 line)<0) out F"''{String}'' not found."; ret
out line