upfirst

Summary

Returns the input string with a capitalized initial letter.

Usage

input|upfirst()

Returns

The input string with a capitalized initial letter.

Description

This operator converts the first character of the input string to a capital letter. The resulting string is returned.

Examples

Example 1

{'good bye!'|upfirst()}

The following string will be returned: "Good bye!".

Balazs Halasy (05/02/2004 12:01 pm)

Balazs Halasy (04/05/2005 4:53 pm)


Comments

There are no comments.