codice:
var stringa="canegatto?canarino";
var sottostringa=stringa.substr(stringa.indexOf('?')+1);
ciao