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
import org.apache.commons.lang.StringUtils; ... ... String arr[] = new String[4]; arr[0] = "my"; arr[1] = "name"; arr[2] = "is"; arr[3] = "baybora"; String join = "'" + StringUtils.join(arr,"','") + "'";
Result:
'my','name','is','baybora'