- Code: Select all
String URLaddString = ("?name=" + name + "&title=" + title);
String newURL = ("http://www.mydomain.com/newentry.php" + URLaddString);
The problem that I have is that using a "name" or "title" with a space in it causes an exception. Is there a way I can adjust the code to allow spaces?