How can I determine if a specific word is found in a text file?
How can I determine if a specific word is found in a text file? The text file varies in size and the word could occur anywhere in the file.
Use the Variable Set String command and save the contents of the file to a variable with the Set Value from File option.
Next use the If Variable Contains command to determine whether the variable (file) contains the word you are looking for.
– Applies to: Macro Express and Macro Express Pro