Search for a String within a String
Posted on 2014-02-03
How can I search a string for another string?
For example I have a path = "C:\directory\test\directory\directory..."
I want to know if it is pointed to the "TEST" directory so I want to search for the word TEST that may or may not always be in the same place everytime...therefore I don't want to say look for the word test in position 3 for a length of 4 like SUBSTR...but rather look for the word TEST any where within that string and do something...
How can I look for the entire word test within another string (path)?