Can someone help me complete this PHP function? I want to take a string like this: \'this-is-a-string\' and convert it to this: \'thisIsAString\':
function d
here is very very easy solution in one line code
$string='this-is-a-string' ; echo str_replace('-', '', ucwords($string, "-"));
output ThisIsAString