sebas0910
(Sebastián Rivera Monsalve)
October 26, 2018, 7:48pm
1
Hello Guys,
I need to know how to check a String with variables. Example… In for each activity I check if any file exist in a path, using Item.ToString.Contains(“String”) = True … then I need to check:
like… Item.ToString.Contains(“String ” + Anything + “.xlsm”) = True
Any like Asterisk in selector.
How can I to check if exists?
1 Like
Use isMatch activity (It used Regex)
In pattern, you need to mention “string.+anything.+.xlsm”
To check the Regex, you can use regexr.com
sebas0910
(Sebastián Rivera Monsalve)
October 26, 2018, 9:34pm
3
Thanks for your answer, but I do this:
item.ToString.Contains(“xlsm”) AND item.ToString.Contains(“String”) = True
It work’s fine.
2 Likes
system
(system)
Closed
October 27, 2018, 9:34pm
4
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.