PascalCase is camelCase with the first letter capital. “Odd socks in the dryer.” becomes OddSocksInTheDryer. The period is dropped. “in” and “the” are capitalized because every word is. There is no separator left to show where the words were.
The word split matches the other code cases. “XMLHttp request” becomes XmlHttpRequest. A run of capitals yields to the capital that starts the next lowercase run, so HTTP does not stay glued to Http. Hyphens, spaces, and underscores are all just boundaries. Apostrophes are deleted inside the word.
Choose this for a type, a component, or a class. Choose camelCase for a variable, where the same phrase is oddSocksInTheDryer. Choose Title case if you still wanted the spaces: “Odd Socks In The Dryer.”
Odd socks in the dryer.
OddSocksInTheDryer camelCase of the same phrase is oddSocksInTheDryer. The only difference is the first letter.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
The words match. PascalCase capitalizes the first one too. oddSocksInTheDryer and OddSocksInTheDryer are the pair.
XmlHttpRequest. The acronym splits on the capital boundary, and the first piece is capitalised as a normal word.
No. Punctuation is not a word. The result is letters only, unless a word itself contained a mark such as an accent.
No. In and The are capitalized. Title case is what keeps the spaces while still capitalizing every word.
No. They stay on the letter. The slug maker is the ASCII fold.