strtolowerとは? わかりやすく解説

Weblio 辞書 > コンピュータ > PHP関数リファレンス > strtolowerの意味・解説 

strtolower

(PHP 4, PHP 5)
strtolower — 文字列を小文字にする

説明

string strtolower ( string string )
string のアルファベット部分をすべて小文字にして返します。
「アルファベット部分」は現在のロケールにより決定されます。 つまり、たとえばデフォルトの「C」ロケールである場合は、 ウムラウト A (Ä) のような文字は変換されません。
例 2323. strtolower() の例
<?php
$str = "Mary Had A Little Lamb and She LOVED It So";
$str = strtolower($str);   
print $str; # 「mary had a little lamb and she loved it so」を出力します。
?>

注意: この関数はバイナリデータに対応しています。
strtoupper()ucfirst()ucwords()mb_strtolower() も参照ください。



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「strtolower」の関連用語

strtolowerのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



strtolowerのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
PHP Documentation GroupPHP Documentation Group
Copyright © 1997 - 2024 by the PHP Documentation Group.

©2024 GRAS Group, Inc.RSS