Jump to content
Sign in to follow this  
jerem488

How to use _IEBodyReadText and put delimiters ??

Recommended Posts

jerem488

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]

Share this post


Link to post
Share on other sites
furrycow

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

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  

×