📜  第一个字符大写php代码示例

📅  最后修改于: 2022-03-11 14:54:33.043000             🧑  作者: Mango

代码示例4
$clientname = "ankur prajapati";
ucwords($clientname);//Ankur Prajapati
ucfirst($clientname);//Ankur Prajapati

$clientname = "ANKUR PRAJAPATI";
ucfirst(strtolower($clientname));//Ankur Prajapati