chararray(
TEXT
,
POSITION
)

The chararray( function extracts a single character from text.


Parameters

This function has two parameters:

text – the text containing the character to be extracted.

position – the position of the character, starting from 1. If a negative position is used, the position is calulated from the end of the text.


Description

This function extracts a single character from text.

chararray("abcdef",4) ☞ d
chararray("abcdef",-2) ☞ e

Note: This function is equivalent to:

(text)[position;1]

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.