(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)
strtolower -- 文字列を小文字にする
説明
string strtolower
(string str)
string をアルファベット部分を
すべて小文字にして返します。
「アルファベット部分」は現在のロケールにより決定されます。
このため、たとえばデフォルトの "C" ロケールである場合は、
ウムラウトA (Ä) のような文字は変換されません。
例 1strtolower()の例 $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()も参照下さい。