📌  相关文章
📜  php代码示例中每个单词的首字母大写

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

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

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