Here i have my string 01Texdox
I want the output like 01TexDox
.How can i achieve this ?
What i have tried in mysql is
UPDATE test1 SET test_char = CONCAT(UCASE(LEFT(test_char, 1)), SUBSTRING(test_char, 2));
In php
$var = "01Texdox";
echo ucfirst($var);
how can i achieve this in php ?