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

chr

Summary

Generates a string based on the input array of ASCII/UNICODE values.

Usage

input|chr()

Returns

A string containing the requested characters.

Description

This operator creates and returns a string. The contents of the returned string is determined by the input parameter which must be an array of ASCII/UNICODE values (as integers).

Examples

Example 1

{array( 97, 98, 99 )|chr()}

The following output will be produced: "abc".

Balazs Halasy (05/02/2004 10:58 am)

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


Comments

There are no comments.