📜  php 将每个单词大写 - PHP 代码示例

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

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

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