Jump to content

StringInStr parentheses


Go to solution Solved by talkfoodtalk,

Recommended Posts

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...