Action Script 3.0 : How to extract two value from string.?

Posted by coderex on Stack Overflow See other posts from Stack Overflow or by coderex
Published on 2010-04-01T12:07:59Z Indexed on 2010/04/01 12:13 UTC
Read the original article Hit count: 358

Filed under:
|
|
|
|

HI

I have a URL

var str:String = "conn=rtmp://server.com/service/&fileId=myfile.flv"

or

var str:String = "fileId=myfile.flv&conn=rtmp://server.com/service/"

The str might be like this, But i need to get the value of "conn" and "fileId" from the string.

how can i write a function for that.

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about as3