Get string ready to use as part of a url