ucwords(string)
它用于将字符串的第一个字符转换为每个字符串的大写字母
Sr.No | 参数 & Description |
---|---|
1 |
string 链接:https://www.learnfk.comhttps://www.learnfk.com/php/php-function-ucwords.html 来源:LearnFk无涯教程网 它用于指定要转换的字符串 |
它返回修改后的字符串
<?php echo ucwords("tutorials point"); ?>
这将产生以下输出-
Tutorials Point
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)