I have a xml URL file in which there are white spaces i want to replace white spaces with %20.. how to do this????
SAXParserFactory spf = SAXParserFactory.ne
Try this:
String temp = http://www.arteonline.mobi/iphone/output.php?gallery=MALBA%20-%20MUSEO%20DE%20ARTE%20LATINOAMERICANO%20DE%20BUENOS%20AIRES temp = temp.replaceAll(" ", "%20"); URL sourceUrl = new URL(temp);