PHP String 函数
把 "hello" 的首字符转换为大写:
</>code<?phpecho ucfirst("hello world!");?>
运行实例
ucfirst() 函数把字符串中的首字符转换为大写。
</>codeucfirst(string)
如对本文有疑问,请提交到交流论坛,广大热心网友会为你解答!! 点击进入论坛