does qtp have a method similar to .contains in C#. I'm trying to find a some text that is contained in a string. Or do i have to create an array to to find the text i'm looking for?
Instr (the return type is slightly different though)
you can look at the below site where you can find all the vb built in methods. http://www.w3schools.com/vbscript/vb..._functions.asp
when things gets harder ,the harder gets going
MainStr= "my name is john"
SearchStr = "john"
If Instr(MainStr,SearchStr)>0 Then
msgbox "not found"
perfect thanks for the help