How can i check if something contains a certaint text or contains another certaint text
Hi @langsem
Assuming that the string(strInput) you have is “Hello World”
You can use If activity for this one:
If strInput.Contains(“Hello”) OR strInput.Contains(“World”)
Use OR
Let me know if this works on your end.
Thanks and regards
2 Likes
it works to a certaint point but I have a move file inside the if statement. and it throws an error with saying file alrdy moved when i use the or
@langsem In move file activity property there is option called Overwite check this option.
1 Like
Can you further elaborate your concern or issue? Thank you
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.