I have a list as below
[url1,url2,url3,url4]
This list will be based on multiple selection from drop down list of HTML. So list size i.e., lis
Have one Util.java file or if you already have all common util stuff then just add these static methods
for single quote
public static String singleQuote(String str) {
return (str != null ? "'" + str + "'" : null);
}
for double quotes
public static String doubleQuotes(String str) {
return (str != null ? "\"" + str + "\"" : null);
}