Questions tagged [case-sensitive]

An operation is case sensitive when uppercase and lowercase characters are treated differently.

1275 questions
127
votes
13 answers

Is VB really case insensitive?

I'm not trying to start an argument here, but for whatever reason, it's typically stated that Visual Basic is case insensitive and C languages aren't (and somehow that is a good thing). But here's my question: Where exactly is Visual Basic case…
Todd Main
  • 28,951
  • 11
  • 82
  • 146
123
votes
3 answers

Is XML case-sensitive?

Short question Is XML case-sensitive? Longer question For example: The attribute color is of type string that may contain a set of valid colors (Red, Blue and Green). To validate the XML, I used the following XSD: …
Ian
  • 5,625
  • 11
  • 57
  • 93
116
votes
6 answers

Case sensitivity in Git

I've run into a problem with git. Basically I set to false core.ignorecase because I wanted to change the case of the names of some folders (since I'm under OSX with a case-insensitive filesystem, the changes weren't shown otherwise). When I pulled…
entropid
  • 6,130
  • 5
  • 32
  • 45
110
votes
6 answers

Is git not case sensitive?

In the first commitment of my partial called _Electronics it was written beginning with a capital letters, then I changed it to _electronics. Git under cygwin ignored the case after commiting the new name, so I changed the name by hand in the target…
JAkk
  • 1,326
  • 2
  • 10
  • 12
104
votes
2 answers

How do you force mysql LIKE to be case sensitive?

Possible Duplicate: Mysql Like Case Sensitive Mysql ignores case for its LIKE comparisons. How can you force it to perform case-sensitive LIKE comparisons?
Bohemian
  • 412,405
  • 93
  • 575
  • 722
103
votes
8 answers

Are PHP functions case sensitive?

I was digging through some code, and I found some calls to mySQL_fetch_array. Is PHP case sensitive about function names? I recall reading this somewhere but can't seem to find any reference to it.
Ben Dauphinee
  • 4,061
  • 8
  • 40
  • 59
93
votes
6 answers

How do I make jQuery Contains case insensitive, including jQuery 1.8+?

I'm trying to use "contains" case insensitively. I tried using the solution at the following stackoverflow question, but it didn't work: Is there a case insensitive jQuery :contains selector? For convenience, the solution is copied…
Matrym
  • 16,643
  • 33
  • 95
  • 140
91
votes
19 answers

indexOf Case Sensitive?

Is the indexOf(String) method case sensitive? If so, is there a case insensitive version of it?
Brian
  • 1,876
  • 5
  • 24
  • 37
87
votes
1 answer

Windows batch command to ignore case sensitivity in variables

I have a set of variables I allow some people I work with to edit. These are True (T) and False (F) values, but I have some people that insist on putting t and f instead of the upper case values respectively. I use the following workaround code to…
rud3y
  • 2,282
  • 2
  • 21
  • 30
80
votes
4 answers

Are column and table name case sensitive in MySQL?

If I have a column names called category_id and Category_Id, are they different? And if I have table called category and Category, are they different?
shin
  • 31,901
  • 69
  • 184
  • 271
78
votes
4 answers

SQL unique varchar case sensitivity question

I'm trying to populate a SQL table with a list of words. The table itself it pretty simple: CREATE TABLE WORDS( ID BIGINT AUTO_INCREMENT, WORD VARCHAR(128) NOT NULL UNIQUE, PRIMARY KEY(ID) ); The problem I'm running into is this: when I do…
Seth
  • 5,596
  • 8
  • 42
  • 56
65
votes
3 answers

GitHub: How to do case sensitive search for the code in repository?

I want to do a case sensitive search for a particular piece of code in a GitHub repository. Is it possible? I checked https://help.github.com/articles/searching-code/ and didn't find such a syntax rule.
Mark Jin
  • 2,616
  • 3
  • 25
  • 37
61
votes
7 answers

SQL Server check case-sensitivity?

How can I check to see if a database in SQL Server is case-sensitive? I have previously been running the query: SELECT CASE WHEN 'A' = 'a' THEN 'NOT CASE SENSITIVE' ELSE 'CASE SENSITIVE' END But I am looking for other ways as this has actually…
Kyle
  • 17,317
  • 32
  • 140
  • 246
59
votes
3 answers

PHP & Case Sensitivity

In PHP, variable and constant names are case sensitive, while function names are not. As far as I am aware, PHP is the only language in which this happens. All other languages I have used are either totally case sensitive or totally case…
Manngo
  • 14,066
  • 10
  • 88
  • 110
59
votes
6 answers

Case sensitive and insensitive like in SQLite

In SQLite it is possible to change the case sensitive behaviour of 'LIKE' by using the commands: PRAGMA case_sensitive_like=ON; PRAGMA case_sensitive_like=OFF; However in my situation I would like to execute a query, part of which is case sensitive…
Richard Williams
  • 2,044
  • 1
  • 24
  • 28
1
2
3
84 85