ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

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.