I need to get the cpnum value (555)
I am using the following function
arrParts = link.html.split(’?’)
cpnum = arrParts.split(’&’)
drugId = cpnumparts
but I imagine there is a simpler way to do this. Also, I would like
something more flexible that would return all the query parameters (if
there are more than one) in an array or a hash.