The 'flatsize' function determines the character length that would be printed if the 'expr' were printed using prin1. This means that the 'expr' would be printed without a new-line. If 'expr' is a string, it would be printed with quotes around the string. The print character length is returned as the result.
(flatsize 1234) ; returns 4 (flatsize '(a b c)) ; returns 7 (flatsize "abcd") ; returns 6 (flatsize 'mybigsymbol) ; returns 11
See the
flatsize
function in the