Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,如果一个字符串是
data = "success=0"
或者
data = "success=1®istration=20";
如何将所有变量解析为 URLVariables 类对象。
var urlVars:URLVariables = new URLVariables(data);
urlVars.decode(data);
如果我没记错的话,这将解决您的问题。
var urlvar:URLVariables = new URLVariables(data);