Top "Camelcasing" questions

Camel case is a language-independent naming convention in which an identifier name will start with a lowercase letter and each additional word within the name will start uppercase, such as customerName, printInvoice, etc.

Function to Make Pascal Case? (C#)

I need a function that will take a string and "pascal case" it. The only indicator that a new word …

c# regex camelcasing
How to parse Camel Case to human readable string?

Is it possible to parse camel case string in to something more readable. for example: LocalBusiness = Local Business CivicStructureBuilding = Civic …

php regex string parsing camelcasing
How do I convert an NSString from CamelCase to TitleCase, 'playerName' into 'Player Name'?

I'm looking for the easiest way to convert a string from camelback format to Title Case format. How do I …

objective-c string cocoa camelcasing
Force CamelCase on ASP.NET WebAPI Per Controller

In ASP.NET WebAPI, I know you can set the default json formatter to use camel case using CamelCasePropertyNamesContractResolver() in …

asp.net json asp.net-web-api json.net camelcasing
Separating CamelCase string into space-separated words in Swift

I would like to separate a CamelCase string into space-separated words in a new string. Here is what I have …

ios swift string macos camelcasing
How to convert a camel-case string to dashes in JavaScript?

I want to convert these strings: fooBar FooBar into: foo-bar -foo-bar How would I do this in JavaScript the most …

javascript string camelcasing
Acronyms in Camel Back

I often see Java class names like XmlReader instead of XMLReader My gut feeling is to completely upper case acronyms, …

java naming-conventions camelcasing
Converting from camelcase to _ in emacs

Is there an emacs function to convert a camel-cased word to underscore? Something, like: longVariableName M-x to-underscore long_variable_name

emacs elisp camelcasing
camelCase to dash - two capitals next to each other

I'm using this function to convert CamelCase to dashed string: function camel2dashed($className) { return strtolower(preg_replace('/([^A-Z-])([…

php regex camelcasing
Why use Camel Case for JS and Snake Case for your DB?

I have been told to use snake case in my DB and never camelCase. JSON API says to use dashes …

javascript sql json camelcasing