(read string)
The read function retrieves the first atom or list from the given string and returns it according to its data type.
The string argument should not contain blanks, except within a list or string.
Examples
: (read "one two three")
ONE
In the example above, the data type of the return value is a SYMBOL, not a STRING.
: (read "123.45")
123.45
In the example above, the data type of the return value is a REAL.
: (read "123 456")
123
In the example above, the data type of the return value is an INTEGER.
: (read "(1 2 3)")
(1 2 3)
In the example above, the data type of the return value is a LIST.