lcfirst_PHP lcfirst()函数与示例
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()函数与示例相关推荐
- php指定长度 分割整形,php指定长度分割字符串str_split函数用法示例
本文实例讲述了php指定长度分割字符串str_split函数用法.分享给大家供大家参考,具体如下: 示例1:$str = 'abcdefgh'; $arr = str_split($str,2); 运 ...
- getdate函数_PHP getdate()函数与示例
getdate函数 PHP getdate()函数 (PHP getdate() function) getdate() function is used to get the local date/ ...
- 安卓log.e函数打印示例_log1p()函数以及C ++中的示例
安卓log.e函数打印示例 C ++ log1p()函数 (C++ log1p() function) log1p() function is a library function of cmath ...
- gettimeofday_PHP gettimeofday()函数与示例
gettimeofday PHP gettimeofday()函数 (PHP gettimeofday() function) gettimeofday() function is used to g ...
- dir函数_PHP dir()函数与示例
dir函数 PHP dir()函数 (PHP dir() function) dir() function is an instance of the directory class, it is u ...
- PHP rewinddir()函数与示例
PHP rewinddir()函数 (PHP rewinddir() function) rewinddir() function is used to rewind/reset the direct ...
- stl swap函数_C ++ STL | vector :: swap()函数与示例
stl swap函数 C ++ STL vector :: swap()函数 (C++ STL vector::swap() function) vector::swap() function is ...
- C#回调函数应用示例,形象比喻方法助理解
C#回调函数应用示例,形象比喻方法助理解,整理了一个简单的例子来说明回调函数的用法: namespace CallBackFunction { class Program { ...
- php解escape,PHP下escape解码函数用法示例
这篇文章主要为大家详细介绍了PHP下escape解码函数用法示例,具有一定的参考价值,可以用来参考一下. 感兴趣的小伙伴,下面一起跟随512笔记的小编小韵来看看吧!GB2312编码: 代码如下: fu ...
最新文章
- SAP MRKO Error - For document type RE, an entry is required in field Reference -
- Wappo BFS求最短路+路径记录
- C# Color颜色对照表
- php正则获取标签,PHP通过正则匹配中文字符 过滤html标签 获取文本内容
- LINQ 的标准查询操作符
- 程序员的自我救赎---4.2:消息中心讲解与应用
- JS判断图片是否加载完毕
- 6-4 破碎的键盘 uva11988
- 【原创】查找原始MySQL死锁ID
- c语言结构体定义常量,C语言结构体
- 工程测量计算机在线用,工程测量中的计算机编程新技术.doc
- 《财富自由子路》李笑来
- vmware14下安装win7x64
- Layui的基本使用(前端登录操作步骤)
- 调岗调薪带来的法律风险
- G - 数字转换 LibreOJ - 10155
- HTML中input输入框动态模糊匹配
- STM32--学习笔记 常用协议总结
- php免杀,PHP免杀webShell总结
- 【UE4 C++】如何关联GitHub 下载UE4引擎源代码