- ucfirst EXPR
- ucfirst
-
Returns the value of EXPR with the first character in uppercase (titlecase in Unicode). This is the internal function implementing the
\u
escape in double-quoted strings.最初の文字だけを大文字にした、EXPR を返します (Unicode では titlecase)。 これは、ダブルクォート文字列における、
\u
エスケープを 実装する内部関数です。If EXPR is omitted, uses
$_
.EXPR が省略されると、
$_
を使います。This function behaves the same way under various pragmas, such as in a locale, as lc does.
この関数は、ロケールのようなさまざまなプラグマの影響下では、 lc と同様に振る舞います。