From: Stephen C. <ste...@ot...> - 2020-10-28 00:48:02
|
Is it possible to convert "special" atoms such as '$%12' into strings that include the single quotation marks? .term2string does not include the quotation marks, and .print does not include them either. I tested this with Jason 2.6.1. For example: !start. +!start <- .term2string(foo('$%12'), S); .print(S); .length(S, Len); .print("Length: ", Len). Output: foo($%12) Length: 9 If the quotation marks aren't included in the string, then it is not possible to parse the strings again to convert them back to Jason atoms. Regards, Stephen |