I have a variable $var and it contain comma separated value.
$var = 'the_ring,hangover,wonder_woman';
I want to make it like below.
$var = 'The Ring,Hangover,Wonder Woman';
I tried $parts = explode(',', $var); also I tried strpos() and stripos() but not able to figure it out.
What can I do to achieve this?
$varin Camel Case?