I have a string that I want to make url friendly. The string might look like this: A string with $trange characters!". and then I want to escape all the bad url-characters and end up with a-string-with-trange-characters
What is the best way to accomplish this in Groovy?
does this work?