how to get String by spliting url in android? -


i have google play store url "https://play.google.com/store/apps/details?id=com.apusapps.launcher&hl=en" url have store"com.example.launcher" in seperate variable , compare package name "com.example.launc" if compare have send json request .how can

try this:

string s = "https://play.google.com/store/apps/details?id=com.apusapps.launcher&hl=en"; string s2 =  s.substring(s.indexof("=")+1, s.indexof("&")); toast.maketext(this,"milad: "+s2,toast.length_long).show(); 

Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -