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.

ord

Summary

Returns an array containing the ASCII/UNICODE values of the input string.

Usage

input|ord()

Returns

An array with ASCII/UNICODE values.

Description

This operator returns an array containing the ASCII/UNICODE values of the characters that make up the input string.

Examples

Example 1

{'abcdef'|ord()}

The following array will be returned: ( 97, 98, 99, 100, 101, 102 ).

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

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


Comments

There are no comments.