Jump to content
Sign in to follow this  

StringInStr parentheses

Recommended Posts


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)

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...