Home  >  Article  >  Backend Development  >  php 字符串大小写变换

php 字符串大小写变换

WBOY
WBOYOriginal
2016-06-13 13:04:22955browse

php 字符串大小写转换


ucwords(string) //每个单词首字母大写
ucfirst(string) //字符串第一个字母大写
strtolower(string) //字符串转换成小写
strtoupper(string) //字符串转换成大写

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn