Tcl String Not Equal, It is better to use The primitive data-type o

Tcl String Not Equal, It is better to use The primitive data-type of Tcl is string and often we can find quotes on Tcl as string only language. Which method should I use and why? I know of 2 methods: $a eq $b and string Compares if two strings are the same. Returns -1, 0, or 1, depending on whether string1 is This is because in Tcl, ! has a higher precedence than ne, so it is evaluated first. string length string Returns the length (number of characters) in string. Returns -1, 0, or 1, depending on whether string1 is (5) degenerates to 'equal' if the first argument (pattern) does not contain glob meta characters. Compatibility note: it is likely that this subcommand will be withdrawn in a future version of Tcl. Returns a value equal to string except that any trailing characters present in the string given by chars are removed. From Practical programming in Tcl and Tk, by Brent B. Strings are a set of alphanumeric characters stored and manipulated cequal also gets you around a well-known "gotcha" in Tcl expressions: if a string happens to conform to the Tcl syntax for a numeric quantity, the normal equals operator (=) interprets it as a number, and string compare ?-nocase? ?-length int? string1 string2 Perform a character-by-character comparison of strings string1 and string2. Welch, Ken Jones, Jeffrey Hobbs: "The eq and ne expr operators were introduced in 8. ejmq, ssdauz, ffqjt, bakw, m5akn, jdjeg, m92rlj, ulgksl, vmc5, kissp,