ne — String "not equal".
ne string1 string2
ne
string1
string2
The ne commands compares two strings, returning 0 if they are equal, 1 if they are not.
if {ne 1 00001} { puts "True" } else { puts "False" }
Produces:
True