String url = "http://someurl/search.do?/remainingurl"
I would like to clear the specified string from the first character to search.do?
The value of the resulting string will look like this:
String scrapedUrl = "http://someurl/search.do?"
Is there a String operation in Java to perform the above action?
Thanks Sony
sony source
share