Function EN Version 1.90

@TrimList

List Misc Text

Syntax

@TrimList(TEXT1);
@TrimList(TEXTLIST1);

Description

Eliminates empty list elements from TEXTLIST TEXTLIST1 and returns a TEXTLIST. When called with TEXT TEXT1, the TEXT is returned unchanged.

Note:
A TEXTLIST consisting of n empty list elements (@BuildList("";n)) becomes a TEXTLIST with 0 (NULL) elements.
An empty TEXT ("") is returned again as an empty TEXT ("").

Example: @TrimList(TEXT1)

TEXT1:=" Hallo Welt !!! ";
@TrimList(TEXT1);

returns " Hallo Welt !!! ";

Example: @TrimList(TEXTLIST1)

TEXTLIST1:="New York":"":"":"Rio":"":"Tokio":"";
@TrimList(TEXTLIST1);

returns "New York":"Rio":"Tokio"

Note : This text was machine-translated and may contain inaccuracies.