Returning a string containing characters from an arrayΒΆ

array_to_text()

Extracting characters from an array across element boundaries


SYNTAX

array_to_text(start_element, count)

Extracts characters from an array, starting at the beginning of a specified element and continuing across element boundaries until the required number of characters is reached. The characters are returned as a long text string.

start_element

The array name and starting element. The array can have multiple dimensions.

count

The number of characters to extract. The function continues to extract characters until it reaches this number or reaches the end of the array.


EXAMPLE

!temp LongText,,a200[10],,p
!temp TextArray,,a100[20, 100]

     LongText = array_to_text{TextArray[10,1], 2000)

RELATED TOPICS

Subscripted fields

Long text fields

text_to_array()