Posts Tagged ‘Python’

“Not Equal” Comparison Operators Used in Different Programs and Languages

ASCII not equal comparison operators range from ~=, !=, /=, =/=, to <>. Here is a table of the various operators and their corresponding programs or languages.

Not Equal Comparison Operator Program or Programming Language
~= MATLAB
!= MySQL, C, C++, PHP, Perl, Java, Javascript, Python
=/= Erlang
!== in PHP it checks the type as well as the value
<> SQL, MySQL, ASP, Microsoft Excel, Visual Basic, and Visual Basic.Net
-ne Bash

2 comments - What do you think?  Posted by administrator - January 4, 2011 at 10:58 pm

Categories: Code   Tags: , , , , , , , , , , , , , ,