What if indexOf('?') is -1?