Jump to content
Sign in to follow this  
Electon

Web Page is Breaking _StringBetween

Recommended Posts

Electon

Hello all. I'm trying to create a new web browser for blind people. I am navigating to a page and reading the html so that I can perform a _stringbetween operation. The problem is it keeps returning an empty string even though I know its matching my delimiters. I am able to msgbox the entire html just fine but I cant get stringbetween to work on this particular page. Is this some kind of character encoding issue? Here is my code:

_IENavigate($ie,"https://edit.yahoo.com/registration",1)
$bodyHtml = _IEBodyReadHTML($ie)
$curl = _StringBetween($bodyHtml,'spaceid','position')

MsgBox(0,"test",$curl)
Edited by Electon

Share this post


Link to post
Share on other sites
Electon

nevermind im an idiot. array is returned.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.