5部 関数リファレンス

ucfirst

ucfirst EXPR



引数の値から最初の文字だけを大文字にして返します。

ucfirstの使い方

print lc "better say my name!";
> Better say my name!

関連記事