Function EN Version 1.90

@Trim

List Misc Text

Syntax

@Trim(TEXT1);
@Trim(TEXTLIST1);

Description

Removes leading, trailing, and redundant spaces from TEXT/TEXTLIST TEXT1/TEXTLIST1 and returns TEXT/TEXTLIST. Empty list elements are not removed.

NOTE:
@Trim
in the Engine differs slightly from the Notes @Function @Trim.

In Notes, @Trim removes empty list elements when it is called with a TEXTLIST. In the Engine, the @Function @TrimList exists for this purpose; @Trim leaves empty list elements unchanged.

Example: @Trim(TEXT1)

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

returns "Hallo Welt !!!"

Example: @Trim(TEXTLIST1)

TEXTLIST1:=" Vorher":"":"Nachher ":" Beide ";
@Trim(TEXTLIST1);

returns "Vorher":"":"Nachher":"Beide"

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