url string manipulation utility module