Skip to main content
This topic has been closed for replies.

4 replies

AnkurwahiAuthor
Known Participant
October 28, 2009

Here is a solution

var str:String = "http://www.gtcbio.com/conferenceDetails.aspx?id=123";
var results:Array = str.split('?');

trace(results[1]);

AnkurwahiAuthor
Known Participant
October 28, 2009

Here is a solution-

var str:String = "http://www.gtcbio.com/conferenceDetails.aspx?id=123";
var results:Array = str.split(?);

lo que buscas quedar��a en results[1];

AnkurwahiAuthor
Known Participant
October 28, 2009

Here is a solution

var str:String = "http://www.gtcbio.com/conferenceDetails.aspx?id=123";
var results:Array = str.split('?');

trace(results[1]);

October 27, 2009

So what was the solution to grab the query strings from Flash?

Ned Murphy
Legend
October 27, 2009

If this is a string value presented to Flash you can use the String.split() method to isolate the query portions of it.  Just use the question mark as the delimiter.

AnkurwahiAuthor
Known Participant
October 27, 2009

Thanks Mr Ned.

Problem Solved.:)

Ned Murphy
Legend
October 27, 2009

You're welcome