Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

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 11:01 am)

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


Comments

There are no comments.