In a batch file, I have a string abcdefg
. I want to check if bcd
is in the string.
Unfortunately it seems all of the solutions I’m finding search a file for a substring, not a string for a substring.
Is there an easy solution for this?
In a batch file, I have a string abcdefg
. I want to check if bcd
is in the string.
Unfortunately it seems all of the solutions I’m finding search a file for a substring, not a string for a substring.
Is there an easy solution for this?