talkfoodtalk Posted May 14, 2014 Share Posted May 14, 2014 Hi, I am trying find the position of: spview-directory-number-input class=" x-form-field x-form-text" tabIndex=0 value= within $sText. It is in there however StringInStr is returning 0. The string im looking for already has quotation marks in there so im assuming im doing somthing wrong with parentheses....can someone correct me please? Local $iPosition = StringInStr($sText, 'spview-directory-number-input class=" x-form-field x-form-text" tabIndex=0 value=' , 0, 1) MsgBox($MB_SYSTEMMODAL, "", "The search string first appears at position: " & $iPosition) Link to comment Share on other sites More sharing options...
Solution talkfoodtalk Posted May 14, 2014 Author Solution Share Posted May 14, 2014 Please ignore - my error. The code above is working fine!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now