Function EN Version 4.50

@TrimLeftAndRightQuote

List Misc Text

Syntax

@TrimLeftAndRightQuote(TEXT1);
@TrimLeftAndRightQuote(TEXTLIST1);

Description

Removes an existing quotation mark at the beginning or end of TEXT TEXT1.
For TEXTLIST TEXTLIST1, this is performed for each element.
Quotation marks inside TEXT TEXT1 or inside the elements of TEXTLIST TEXTLIST1 are preserved.

Example: @TrimLeftAndRightQuote(TEXT1)

TEXT1:="\"WORLD\"";
@TrimLeftAndRightQuote(TEXT1);

returns "WORLD"

Example: @TrimLeftAndRightQuote(TEXT1)

TEXT1:="\"\"WORLD\" \"";
@TrimLeftAndRightQuote(TEXT1);

returns "\"WORLD\""

Example: @TrimLeftAndRightQuote(TEXTLIST1)

TEXTLIST1:="12345":"\"12345\"":"12\"345":"\"123\"45\"";
@TrimLeftAndRightQuote(TEXTLIST1);

returns "12345":"12345":"12\"345":"123\"45"

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