remove a substring from the end of a string,"print(url.replace('.com', ''))"