Answers for "make string from list prolog"

0

make string from list prolog

?- atomic_list_concat([apple, banana, oranges], ',', Atom), atom_string(Atom, String).

Atom = 'apple,banana,oranges',
String = "apple,banana,oranges".
Posted by: Guest on October-21-2021

Browse Popular Code Answers by Language