CamelCase

Alternatively referred to as bicapitalisation, medial capitals, and Pascal case, CamelCase is a term used to describe a writing technique that capitalizes the beginning of each word and removes any spaces, giving the words the look of the humps on a back of a camel. For example, "ComputerHope", "FedEx", "McDonald's", and "WordPerfect" are all examples of CamelCase. In computer programming CamelCase is often used as a naming convention for naming variables, arrays, and other elements. For example, $MyVariable is an example of a variable that uses CamelCase.

Converting text into CamelCase can be as simple as using a singular regular expression, as shown in the below Perl example.

my $camelcase = "This is a test.";
$camelcase =~ s/ ([a-z])/\u$1/g;

The above example, would convert "This is a test." into "ThisIsATest."

Use the below conversion tool to convert any text into CamelCase and various other forms of converted text.

Conversion Tool:


Also see: Pascal, Programming definitions, Underscore