ROPE Language Reference - "nei"

"nei" stands for "Not Equal, ignoring case".

"nei" takes two items from the stack, compares them and pushes back 1 (meaning: true) if they are the different or 0 (meaning: false) if they are the same. The comparison is performed without regard to the case of any letters in the strings.

It is an error to compare two values of different types: either both must integers or both must be strings.

lift(4) "HTTP" nei assert

History

The "nei" action was added to Rope in version 20051212.

See Also

eq, eqi, ne,