[Solved] Need help to convert data in an ArrayList to Strings and Pass each of them as String parameters to a function


If getTranscript is void:

for (String s : slist) {
     getTranscript(s);
}

If getTranscript returns a string and you would like to save it:

ArrayList<String> transcripts = new ArrayList<String>();
for (String s : slist) {
     transcripts.add(getTranscript(s));
}

1

solved Need help to convert data in an ArrayList to Strings and Pass each of them as String parameters to a function