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

php 字符串大小写变换

WBOY
Release: 2016-06-13 13:04:22
Original
981 people have browsed it

php 字符串大小写转换


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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template