当前位置:主页 > 软件编程 > PHP代码 >

PHP lcfirst()函数定义与用法

时间:2021-06-26 08:47:10 | 栏目:PHP代码 | 点击:

PHP lcfirst() 函数

实例

把 "Hello" 的首字符转换为小写。:

<?php 
echo lcfirst("Hello world!"); 
?>

定义和用法

lcfirst()函数把字符串中的首字符转换为小写。

相关函数:

语法

lcfirst( _string_ )

总结

您可能感兴趣的文章:

相关文章