It would be easier just to...

set %url http://www.imdb.com/find?s=tt;q= $+ $2-

its best to then replace the other spaces with %20

set %url http://www.imdb.com/find?s=tt;q= $+ $replace($2-,$chr(32),$+(%,20))