Skip to content

Instantly share code, notes, and snippets.

@Marchuck
Created August 8, 2015 15:02
Show Gist options
  • Save Marchuck/5770354b02b13f4fec82 to your computer and use it in GitHub Desktop.
Save Marchuck/5770354b02b13f4fec82 to your computer and use it in GitHub Desktop.
Get query value used with observables response.getUrl() extracter
String getQuery(String url, String field){
String[] divider = url.split(field+"=");
String[] spliter = divider[1].split("&");
return spliter[0];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment