大文字小文字変換

PHP

関数strtolower()とstrtoupper()

$str = "Mary Had A Little Lamb and She LOVED It So";
$str = strtolower($str);

マルチバイト用のmb_strtolower()などもある。

Perl

関数lcとuc。LowerCaseとUpperCase

$a = lc($a);
$a = uc($a);

Front page   Diff Backup Reload   List of pages Search Recent changes   Help   RSS of recent changes
Last-modified: Tue, 26 Apr 2011 15:40:12 JST (2219d)