當前位置: 首頁> 函數類別大全> 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>

親自試一試

同類函數
  • 輸出格式化的字符串 vprintf

    vprintf

    輸出格式化的字符串
  • 二進制安全比較字符串開頭的若干個字符(不區分大小寫) strncasecmp

    strncasecmp

    二進制安全比較字符串開頭的若干個字符(不
  • 反引用一個使用addcslashes() 轉義的字符串 stripcslashes

    stripcslashes

    反引用一個使用addcslashes()
  • 對字符串執行rot13轉換 str_rot13

    str_rot13

    對字符串執行rot13轉換
  • 計算子字符串出現次數 substr_count

    substr_count

    計算子字符串出現次數
  • 返回字符串的一部分 substr

    substr

    返回字符串的一部分
  • implode的別名 join

    join

    implode的別名
  • 單向字符串散列 crypt

    crypt

    單向字符串散列
熱門文章