condition search text
Moderator: Martin
condition search text
hi, how can I make a condition that search the presence of specified text in a .txt file? thanks
Re: condition search text
Hi,
You can use an action Init Variable Text File and then use a condition Expression to check if the text contains the word:
-action Init Variable Text File: file1.txt to file_text
-condition Expression: contains(file_text, "TheWord")
-->true: -some actions
Regards,
Martin
You can use an action Init Variable Text File and then use a condition Expression to check if the text contains the word:
-action Init Variable Text File: file1.txt to file_text
-condition Expression: contains(file_text, "TheWord")
-->true: -some actions
Regards,
Martin
Re: condition search text
Martin wrote:Hi,
You can use an action Init Variable Text File and then use a condition Expression to check if the text contains the word:
-action Init Variable Text File: file1.txt to file_text
-condition Expression: contains(file_text, "TheWord")
-->true: -some actions
Regards,
Martin
thanks! you're great
