Is it possible to test for multiple substrings in the following string using contains()?
"details.php?news=13&action=main&menu_type=&option=single&news_id=4792&pub_no=50"
For example, can I check for strcase="details.php", "news_id" to be checked at the same time using str.contains(strcase)?
I do not want to check like this: str.contains("details.php")&&str.contains("news_id"). because I want to check for both simultaneously: strcase="details.php ** news_id"
Like this statement :
str.replaceAll("\\<[^>]*>","");
can strip out tag "<?>".