getting the value of a string

getting the value of a string

I have this code (which works) and my question is... is there a way to get the length's value in 1 line and maybe shorten this code?
var thisURL = window . location . href ;
var getLastSplit = thisURL.split('&').length-1;
var lastValue = thisURL.split('&')[getLastSplit];            
       if(lastValue == 'callManager') {
                 $('#CallManager').trigger('click');
    }