lcfirst

PHP lcfirst()函数 (PHP lcfirst() function)

lcfirst() function is a string function, it is used to convert first character to lowercase. It accepts string and returns string with first lowercase character.

lcfirst()函数是一个字符串函数,用于将第一个字符转换为小写。 它接受字符串,并返回第一个小写字符的字符串。

Syntax:

句法:

    lcfirst(string);

Example:

例:

    Input: "THIS is MY computer!"
Output: "tHIS is MY computer!"

PHP code:

PHP代码:

<?PHP
$str = "THIS is MY computer!";
echo (lcfirst($str));
?>

Output

输出量

tHIS is MY computer!

翻译自: https://www.includehelp.com/php/lcfirst-function-with-example.aspx

lcfirst

lcfirst_PHP lcfirst()函数与示例相关推荐

  1. php指定长度 分割整形,php指定长度分割字符串str_split函数用法示例

    本文实例讲述了php指定长度分割字符串str_split函数用法.分享给大家供大家参考,具体如下: 示例1:$str = 'abcdefgh'; $arr = str_split($str,2); 运 ...

  2. getdate函数_PHP getdate()函数与示例

    getdate函数 PHP getdate()函数 (PHP getdate() function) getdate() function is used to get the local date/ ...

  3. 安卓log.e函数打印示例_log1p()函数以及C ++中的示例

    安卓log.e函数打印示例 C ++ log1p()函数 (C++ log1p() function) log1p() function is a library function of cmath ...

  4. gettimeofday_PHP gettimeofday()函数与示例

    gettimeofday PHP gettimeofday()函数 (PHP gettimeofday() function) gettimeofday() function is used to g ...

  5. dir函数_PHP dir()函数与示例

    dir函数 PHP dir()函数 (PHP dir() function) dir() function is an instance of the directory class, it is u ...

  6. PHP rewinddir()函数与示例

    PHP rewinddir()函数 (PHP rewinddir() function) rewinddir() function is used to rewind/reset the direct ...

  7. stl swap函数_C ++ STL | vector :: swap()函数与示例

    stl swap函数 C ++ STL vector :: swap()函数 (C++ STL vector::swap() function) vector::swap() function is ...

  8. C#回调函数应用示例,形象比喻方法助理解

    C#回调函数应用示例,形象比喻方法助理解,整理了一个简单的例子来说明回调函数的用法: namespace CallBackFunction {     class Program     {      ...

  9. php解escape,PHP下escape解码函数用法示例

    这篇文章主要为大家详细介绍了PHP下escape解码函数用法示例,具有一定的参考价值,可以用来参考一下. 感兴趣的小伙伴,下面一起跟随512笔记的小编小韵来看看吧!GB2312编码: 代码如下: fu ...

最新文章

  1. SAP MRKO Error - For document type RE, an entry is required in field Reference -
  2. Wappo BFS求最短路+路径记录
  3. C# Color颜色对照表
  4. php正则获取标签,PHP通过正则匹配中文字符 过滤html标签 获取文本内容
  5. LINQ 的标准查询操作符
  6. 程序员的自我救赎---4.2:消息中心讲解与应用
  7. JS判断图片是否加载完毕
  8. 6-4 破碎的键盘 uva11988
  9. 【原创】查找原始MySQL死锁ID
  10. c语言结构体定义常量,C语言结构体
  11. 工程测量计算机在线用,工程测量中的计算机编程新技术.doc
  12. 《财富自由子路》李笑来
  13. vmware14下安装win7x64
  14. Layui的基本使用(前端登录操作步骤)
  15. 调岗调薪带来的法律风险
  16. G - 数字转换 LibreOJ - 10155
  17. HTML中input输入框动态模糊匹配
  18. STM32--学习笔记 常用协议总结
  19. php免杀,PHP免杀webShell总结
  20. 【UE4 C++】如何关联GitHub 下载UE4引擎源代码

热门文章

  1. IntelliJ IDEA里的项目搞崩了怎么办,本地历史版本回退拯救你崩溃的心灵
  2. 生成一个GitHub的token用于git推送本地库至远程库
  3. Tensorflow代码转pytorch代码 函数的转换
  4. ANSIBLE--handlers的概念
  5. oracle控制文件
  6. Shell 标准输入、输出和错误
  7. EF使用CodeFirst方式生成数据库技巧经验
  8. CentOS 7.0变动
  9. handler类型的定时器
  10. UrlRewriter 伪url的配置