echo strtoupper('phpcms').' strtoupper小写转大写';
echo strtolower('PHPCMS').' strtolower大写转小写';
echo ucfirst('word').' ucfirst首字母大写';
echo ucwords('hlleo word').' ucwords 所有单词首字母大写';
echo ucwords('hello|word','|');点击 "运行实例" 按钮查看在线实例
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号