The "string is <class>" command provides a list of class types but doesn't indicate how a particular character will be classified. The following code will produce a classification table for the characters in the range 0-127.
set classes { alnum alpha ascii boolean control digit double false graph integer lower print punct space true upper wordchar xdigit }