An operation is case insensitive when uppercase and lowercase characters are equally treated.
Questions tagged [case-insensitive]
1146 questions
-1
votes
1 answer
How can I case-insensitive sort a 2D List in Python?
I have a 2D List like this:
mylist = [[1, "Banana", "description"],[2, "Peach", "description"],[1,"apple", "description"],[2, "orange", "description"]]
I want to sort the list first by the numbers and then by the "name" of the object. But when I…

Taxogatl
- 21
- 3
-1
votes
1 answer
Is there a case-insensitive collation in MySQL that also insensitive towards a string and its trimmed version?
I know, there is a lot of case-insensitive collations (e.g. utf8_bin), but besides that, I need a collation that also treats a string as its trimmed version (let's call it "trim-insensitivity"), so it can't distinguish the following two strings:…

Gevorg Melkumyan
- 628
- 1
- 12
- 24
-1
votes
5 answers
Computer recognize response as non case sensitive
I'm making a calculator program, it has a square root feature, but first, you need to type 's' in order to access it, I wanna make it so that the user can type "S" or "s" and have the computer still recognize it and bring up the square root option…

dareesome
- 133
- 1
- 7
-1
votes
1 answer
Making switch cases case-insensitive in swift
I've made a simple way for a user to type in console to choose between a few options.
print("Y / N / SUBS / SCENES")
let chooseWisely = readLine()
switch chooseWisely{
case…

Johnson
- 161
- 9
-1
votes
1 answer
Are Active Directory GUID strings fine to compare case insensitively?
I couldn't find this documented, so I'm wondering if it matters...
With Active Directory you may need to compare app ids, object ids etc to know ones for authorization purposes. Since app ids and object ids are just randomly generated GUIDs that are…

Tim Lovell-Smith
- 15,310
- 14
- 76
- 93
-1
votes
1 answer
Case-insensitive string comparison without using lower or upper
I am trying to compare two string and ignore case- sensitive but i don't want to use .lower() or .upper(). Is there another way of doing this?

Doron Shevach
- 133
- 1
- 11
-1
votes
1 answer
How To Make An If Statement Case Insensitive In Python
It can become quite tedious to put multiple variations of spelling into and if statement and I was wondering if there is a way I could make the if statements case insensitive so I only need to put in one thing. I'm just picking up python again and…

Mr. Tenderoni
- 17
- 2
-1
votes
1 answer
'Key Error' in Case Insensitive Regex Dictionary String Replace
With reference to both of these links:
Case insensitive dictionary,
Replace a string using dictionary - regex
I am trying to use this method to be able to replace from a user inputted string using a dictionary created from a CSV but with case…

Starcross
- 3
- 2
-1
votes
2 answers
where is the error in my code trying to compare case -insensitive using python
I have a code that read files and compare the content with a user-input with ignoring case-sensitive.
i used the list-comprehension in order to loop through the content and compare with user-input.
The problem is that the list comprehension return…

Propy Propy
- 57
- 10
-1
votes
3 answers
how can i make the input value case-insenstive in an array using pure javascript
I want to be able to search for a value without having to explicitly type in the first letter using uppercase. Hence it can be recognised in lowerCase also. Any help please?
function animal(){
var animal = ["Panda", "Snake", "Lemur",…

charles dim
- 3
- 3
-1
votes
1 answer
Case insensitive oracle query
I am working with database where i need to retrieve distinct values. Example [English enGLish english ....] all this should be displayed as English only. Can anyone tell me how to achieve this.
Thanks in advance

yasmeen
- 55
- 1
- 6
-1
votes
3 answers
how to read the key names from a json response as case insensitive
Below is my json format code:
{
"topic": "Employee",
"message": {
"Id": "IND01",
"data": {
"salary": 50000
}
}
}
The key names such as topic, message, Id and data to be read as case-insensitive. How…

Raksh
- 19
- 2
- 5
-1
votes
5 answers
Making Python dictionary case insensitive by aggregating keys
I have a dictionary with a lot of keys that are different from each other because of the dictionary's case sensitivity. I'd like to have it all in one lower case key, but with all values of those keys aggregated.
I have something like:
>>>…

Vinícius Figueiredo
- 6,300
- 3
- 25
- 44
-1
votes
1 answer
Case insensitive regular expression in rule-based row splitter in KNIME
How to change this String expression so the rule it will be case insensitive
join("$yourSentenceColumn$ MATCHES \".*?\\Q", removeChars($yourTermColumn$, "\""), "\\E.*\" => TRUE")?

Regina
- 115
- 4
- 13
-1
votes
2 answers
Java : Specifying Case Insensitive Search on String into an ArrayList with Regex
Following are the intended output and the original output I got from using this line of code :- ArrayList nodes = new ArrayList
(Arrays.asList(str.split("(?i:"+word+")"+"[.,!?:;]?")));
on the input :-
input : "Cow shouts COW! other…

Syukri Shukor
- 49
- 6