Ubuntu – In Tcl, why is the string length of an empty string 1, not 0?
In tclsh, first make an empty string: set a [] Then run the following command: string length a It returns 1. I'm expecting a return value of 0 for the length of an empty string, because it is defined to…