當前位置: 首頁> 函數類別大全> strtolower

strtolower

將字符串轉化為小寫
名稱:strtolower
分類:字符串
所屬語言:php
一句話介紹:把字符串轉換為小寫字母。

實例

把所有字符轉換為小寫:

 <span class="token php language-php"><span class="token delimiter important"><?php</span>
<span class="token keyword">echo</span> <span class="token function">strtolower</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"Hello WORLD."</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

親自試一試

同類函數
  • 將字符串轉化為大寫 strtoupper

    strtoupper

    將字符串轉化為大寫
  • 將所有適用的字符轉換為HTML實體-將字符轉換為HTML 轉義字符 htmlentities

    htmlentities

    將所有適用的字符轉換為HTML實體-將字
  • 返回格式化的字符串 sprintf

    sprintf

    返回格式化的字符串
  • 將格式化的字符串寫入流 vfprintf

    vfprintf

    將格式化的字符串寫入流
  • 查找字符串中子字符串第一次出現的位置 strpos

    strpos

    查找字符串中子字符串第一次出現的位置
  • 反轉義一個轉義的字符串 stripslashes

    stripslashes

    反轉義一個轉義的字符串
  • 將字符串轉換為數組 str_split

    str_split

    將字符串轉換為數組
  • 以千位分隔符方式格式化一個數字 number_format

    number_format

    以千位分隔符方式格式化一個數字
熱門文章