codeigniter Play with English word with INFLECTOR helper Camelized the string


Camel Case is the practise of writing compound words or phrases where every word begins with Capital letter, without space between word. The function camelize($string) helps to make a string camelized. It converts a string of words separated by spaces or underscores to camel case.

echo camelize('Mc donald'); //Prints mcDonald