jerem488 Posted January 21, 2010 Share Posted January 21, 2010 I would know if it's possible to put delimiters of recupered text of the function _IEBodyReadText ?? Because in the text, I want take a ârt of text, but I don't know the text... (Because the text is variable). I don't know how to proceed. And I can't use functions "StringLeft" or "StringRight" because the length is variable too !! Qui ose gagneWho Dares Win[left]CyberExploit[/left] Link to comment Share on other sites More sharing options...
furrycow Posted January 22, 2010 Share Posted January 22, 2010 I would know if it's possible to put delimiters of recupered text of the function _IEBodyReadText ?? Because in the text, I want take a ârt of text, but I don't know the text... (Because the text is variable). I don't know how to proceed. And I can't use functions "StringLeft" or "StringRight" because the length is variable too !! Would it not be easier to use _IEBodyReadHTML, and use some of the HTML on the page to set a reference point of where to start reading the text? something like searching for <h1> in the html, if the variable text you want is in the header, and then </h1> for the point of where to stop reading the text? or just find a specific point in the source that isnt a variable and work from there? $Start=StringInStr(_IEBodyReadHTML($oIE),"<h1>") $End=StringInStr(_IEBodyReadHTML($oIE),"</h1>",0,1,$Start) $Text=StringMid(_IEBodyReadHTML($oIE),$Start+4,$End-$Start-4) Instant Lockerz Invite - www.instantlockerzinvite.co.uk 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