Name

ne — String "not equal".

Synopsis

ne string1 string2

Description

The ne commands compares two strings, returning 0 if they are equal, 1 if they are not.

Example

if {ne 1 00001} {
    puts "True"
} else {
    puts "False"
}
	  

Produces:

True