You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but in the Practice conditions,the "result" should be Dismantling to more useful string,but it seems hard to get,so I made a javascript solution way
in javascript
function getUrlVars(result, index)
{
var str_length = result.split(",");
var vars = str_length[index].split(",");
var vars = vars[0].split(":");
var vars = vars[1].replace(/\'/g,"");
if(index == 5) { var vars = vars.replace(/\}/g,""); }
return vars;
}
so use the method getUrlVars will get more useful string
deviceID = > getUrlVars(result,0)
phoneNo = > getUrlVars(result,1)
netCountry = > getUrlVars(result,2)
netName = > getUrlVars(result,3)
simCountry = > getUrlVars(result,4)
simName = > getUrlVars(result,5)
maybe you can Consider to change the original "result" by Dismantling,just like this
result['deviceID ']...
result['phoneNo']...
result['netCountry']...
etc...
if could,it will be more Direct
The text was updated successfully, but these errors were encountered:
such kind of this
but in the Practice conditions,the "result" should be Dismantling to more useful string,but it seems hard to get,so I made a javascript solution way
in javascript
so use the method getUrlVars will get more useful string
deviceID = > getUrlVars(result,0)
phoneNo = > getUrlVars(result,1)
netCountry = > getUrlVars(result,2)
netName = > getUrlVars(result,3)
simCountry = > getUrlVars(result,4)
simName = > getUrlVars(result,5)
maybe you can Consider to change the original "result" by Dismantling,just like this
result['deviceID ']...
result['phoneNo']...
result['netCountry']...
etc...
if could,it will be more Direct
The text was updated successfully, but these errors were encountered: