Grepefruit

Case sensitivity

Welcome to our website. It is generaly simplier version of wikipedia. You will find there selected articles. Enjoy!

Question book-new.svg
This article needs additional citations for verification.
Please help improve this article by adding reliable references. Unsourced material may be challenged and removed. (December 2007)
For a discussion of case-sensitivity in Wikipedia page titles, see Help:Page name and Wikipedia:Naming conventions (capitalization).

For the Wikipedia policy, see Wikipedia:Case sensitivity.

Text sometimes exhibits case sensitivity; that is, words can differ in meaning based on differing use of uppercase and lowercase letters. Words with capital letters do not always have the same meaning when written with lowercase letters. For example, Bill is the first name of former U.S. president William Clinton, who could sign a bill (which is a proposed law that was approved by Congress). And a Polish person can use polish to clean something. In food, the Calorie, with a capital C, is commonly used to denote 1000 calories of energy.

In computers, some examples of usually case sensitive data are

Some computer languages are case-sensitive (Java, C++, C#, C, Ruby and XML). Others are case-insensitive (i.e., not case-sensitive), such as most BASICs (an exception being BBC BASIC), SQL and Pascal. There are also languages, such as Haskell and Prolog, in which the capitalization of an identifier encodes information about its semantics.

It takes more work for a program to ignore case when comparing data, depending on the data being compared. Usually it suffices in text coded in character sets like ASCII or EBCDIC to merely convert the comparand and the data temporarily to one case and then compare. However, it becomes far more challenging in a multi-lingual environment, e.g., using Unicode, since case-conversion rules differ between some languages.

Case-insensitive operations are sometimes said to fold case, from the idea of folding the character code table so that upper- and lower-case letters coincide. The alternative smash case is more likely to be used by someone that considers this behaviour a misfeature or in cases wherein one case is actually permanently converted to the other.

References

  1. ^ Kernighan, Brian W.; Dennis M. Ritchie (February 1978). "Chapter 2: Types, Operators and Expressions". The C Programming Language (1st ed.). Englewood Cliffs, NJ: Prentice Hall. pp. 33. ISBN 0-13-110163-3. 
  2. ^ Matsumoto, Yukihiro (January 2002). "Chapter 2: Language Basics". Ruby in a nutshell (1st ed.). O'Reilly Media. pp. 9. ISBN 0-596-00214-9. 
Retrieved from "http://en.wikipedia.org/wiki/Case_sensitivity"


komputery | Dobre i sprawdzone Pralki kupisz najtaniej w taniutko.pl | najlepszy autostop dla ciebie - autostop | gry platformowe gry platformowe gry platformowe | gry escape gry escape gry escape | gry dla dziewczyn gry dla dziewczyn gry dla dziewczyn | gry wyścigowe gry wyścigowe gry wyścigowe | gry smieszne gry smieszne gry smieszne | agencja public relations | agencja pr | ctdp | upominki reklamwe upominki reklamowe parasole reklamowe | pisanie cv | filesmap.com | newslettery author a | author j | s | author r | t | u | author a | e | author b | author n | f | author c | author b | a | author d wiki
All text is available under the terms of the GNU Free Documentation License