In the Python language one can write long lists of strings without having to type all the quotation marks. I would like a function that would do the following
(str cat dog rat bat) -> ("cat" "dog" "rat" "bat")
How can one accomplish this in NewLISP? Of course strings with spaces would not be allowed.
Oh, and strings with embedded spaces may simply be quoted.
> (str "string with spaces" cat rat bat hat sat mat fat gat gnat pat vat)
("string with spaces" "cat" "rat" "bat" "hat" "sat" "mat" "fat" "gat" "gnat" "pat" "vat")