What is the difference between '!=' and '<>'? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 4

What is the difference between '!=' and '<>'?

What is the difference between '!=' and '<>'?

1st Dec 2016, 12:01 PM
Sjoerd Flameling
Sjoerd Flameling - avatar
5 Réponses
+ 1
Patrick, I checked it. <> works for strings ☺
1st Dec 2016, 12:30 PM
code-or-die
+ 2
okay. thanks!
1st Dec 2016, 3:19 PM
Sjoerd Flameling
Sjoerd Flameling - avatar
0
no difference. same thing different spelling. Like "and" and "&&" or "or" and "||".
1st Dec 2016, 12:14 PM
code-or-die
0
I believe its rather about what value type you're using. Like for numeric types, both can be used but for text or other object types i'm not sure if '<>' makes any sense nor working.
1st Dec 2016, 12:18 PM
Patrick Stranz
Patrick Stranz - avatar
0
i will like to relate with you please give me your Facebook id
29th Jan 2017, 7:22 PM
Umez Ike
Umez Ike - avatar