I do not understand what the different between case sensitive and case insensitive? ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I do not understand what the different between case sensitive and case insensitive? ?

17th Jul 2018, 7:10 PM
Sema Abuel Nour
Sema Abuel Nour - avatar
9 Answers
+ 8
if LOLLIPOP equals to lollipop.. it is case insensitive.. if LOLLIPOP is not equals lollipop then it is case sensitive
17th Jul 2018, 7:20 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 2
Case insensitive code, "SoloLearn" is the same as "soLolEarn" and "SOLOLEarn" etc. Case sensitive meams "SoloLearn" is only the same as "SoloLearn". For case insensitive, it checks if the word is the same, regardless of which letters are capitalised. For case sensitive, it checks if the word is the same AND the specific letters have the same capitalization. Example: "HeLlo" case insensitive will work for "Hello", "hEllO, etc, but case sensitive will only work for other "HeLlo".
17th Jul 2018, 7:19 PM
Andre Daniel
Andre Daniel - avatar
+ 2
Case sensitive ==> when you call a variable or a constant you 've to respect its name as you declared it at the first time. Ex: SEMA= 'string' echo SEMA //outputs string but echo Sema ,wont output String because SEMA and Sema are not the same ===> sensitive. Case-insensitive ==> the opposite .SEMA and Sema are the same ,both output 'string'. =))
17th Jul 2018, 9:13 PM
ikram bakkali
ikram bakkali - avatar
+ 2
If $name = 'SOLO LEARN'; is the same as $name = solo learn'; the variable is said to be case insensitive, buh if $name = 'SOLO LEARN'; isn't same thing as $name = 'solo learn'; it's said to he case sensitive.
2nd Aug 2018, 12:42 PM
Joshua Oluwaseyi
Joshua Oluwaseyi - avatar
+ 1
in the two cases the result is the same I do not see different
17th Jul 2018, 7:16 PM
Sema Abuel Nour
Sema Abuel Nour - avatar
+ 1
captilization is the difference
17th Aug 2018, 12:40 PM
ÄKoderj
0
Case sensitive means that what case the letters are matters and produces different results. Case insensitive is the opposite.
17th Jul 2018, 7:11 PM
TurtleShell
TurtleShell - avatar
0
so case sensitive mean the result must be the same as what I write ?and the default is case sensitive?
17th Jul 2018, 7:24 PM
Sema Abuel Nour
Sema Abuel Nour - avatar
0
in case sensitive programming, defferent between two variables var x; & var X; . . x!=X
17th Jul 2018, 8:29 PM
Reza Rafiei
Reza Rafiei - avatar