This is the old documentation center for eZ Publish 4. We are currently migrating the eZ Publish documentation to http://confluence.ez.no the eZ Publish 5 documentation platform. Documentation for the eZ Publish legacy components are still located on this site, as well as all documentation for earlier releases.

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.