Hey, thanks for reading. I have a String that has an ampersand in it that I wish to use as a variable in a 'GET' URL. Is there a simple way to replace the ampersand with %26. The String.replace() seems only to work with single characters.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.