I am running a programme that calculates a list, but due to
string_to_list and string_to_atom calls, I end up with a list that looks
like the following: X = ['oneelement', 'anotherelement'] - list elements
will be of the form (x,"(0,a,1)",y) - and I would like the output to be
X = [oneelement, anotherelement].
Is there a way to achieve this (preferably in SWI-Prolog)?
Many Thanks,
George