Just wondering

well i was just wondering if any one had a function that made strings url friendly. like for example it would turn “Beastie Boys” into “Beastie%20Boys” so it could be used in urls.

this would help me out a bunch.