I have a list of Tuple(s) like:
val rez = List((A, B, C, D, E, WrappedArray(F1, F2, F3)), (A2, B2, C2, D2, E2, WrappedArray(F4, F5)))
What I am trying to do is to create a string from each tuple in the list, so that (e.g., for the first tuple):
if(C == "Bob") then "A => (F1 \/ F2 \/ F3)"
The elements in the Tuple are, of course, of different types (in the WrappedArray() are of the same type).
My difficult part is how to make the string like (F1 \/ F2 \/ F3) from the elements within the WrappedArray()?
Thanks for any help.
(F4 \/ F5), as theWrappedArrayin my case has a different number of elements.