Could someone please helpe with the following. I am trying to extract a string from a string.
I have the following url: https://api.github.com/gists/public?page=2
How can I cut the portion of the string "?page=2" and store it in a variable so that I would have two parts.
var strBase = https://api.github.com/gists/public"
and the page part
var strPage = "?page=2".
Thanks you.
Dave.