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
Using Java 8 Streams:
String[] array = {"url1", "url2", "url3", "url4"} Stream.of(array).collect(Collectors.joining("','", "'", "'"));