How to handle url with spaces?

Thank you for your response. May I declare a variable and assign my url value and then add it as mentioned above?