I have an ArrayList that contains Strings and also contains other ArrayLists which may contain Strings or even more ArrayLists.
Is there a simple way to extract all the Strings from this multilevel ArrayList?
I'm assuming some recursion is invloved but I haven't been able to get it to work.