DigitalLocksmith Posted June 10, 2007 Posted June 10, 2007 (edited) Any ideas why this returns blank? Is it because of the quotes in the friend id line? CODE#include <INet.au3> #include<String.au3> $userid = "tom" $profile = 'www.myspace.com/' & $userid $values = _StringBetween(_INetGetSource($profile), 'friendid=', '" id=') MsgBox(0, "User ID:", "User ID is " & $values) Edited June 10, 2007 by DigitalLocksmith
Gabburd Posted June 10, 2007 Posted June 10, 2007 _StringBetween() returns an array, not a string. Try this: #include <INet.au3> #include<String.au3> #include <Array.au3> $userid = "tom" $profile = 'www.myspace.com/' & $userid $values = _StringBetween(_INetGetSource($profile), 'friendid=', '" id=') _ArrayDisplay( $values, "$values" )
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