03-09-2016, 03:52 AM
If you don't need to open file with notepad,
str S E("findme") M ;;;;; 'E("findme")' is equal to ' str E="findme" '
str T = "c:\tmp.txt" ;;;;; target file
int F
S.getfile(T) ;;;;; load 'tmp.txt' to string S
F = find(S E) ;;;;; find('target' 'what you want to find')
if (F>0) ;;;;; if found, F is >0
M.format("text %s found" E)
out M