Function EN Version 1.90

@Explode

List Misc Text

Syntax

@Explode(TEXT1);
@Explode(TEXTLIST1);
@Explode(TEXT1;SEPTEXT2);
@Explode(TEXTLIST1;SEPTEXT2);

Description

Splits the TEXT/TEXTLIST TEXT1/TEXTLIST1 into a TEXTLIST. At each occurrence of a space, the TEXT1 or each element of TEXTLIST1 is separated and made into its own element. TEXT SEPTEXT2 can be used to specify a different separator text.

HINWEIS:NOTE:
@Explode in the Engine differs from the Notes @function @Explode!

If TEXT/TEXTLIST TEXT1/TEXTLIST is passed as "ABCxxxDEF" and SEPTEXT2 as "xx", a TEXTLIST "ABC":"xDEF" is returned. The Notes @Function @Explode returns for these values "ABC":"DEF".

Further examples of this:
TEXT1/TEXTLIST1 SEPTEXT2 Notes Engine
"ABCxxDEF" "xxx" -> "ABC":"DEF" "ABCxxDEF"
"ABCxxxxxDEF" "xx" -> "ABC":"DEF" "ABC":"xDEF"

Example: @Explode(TEXT1)

TEXT1:="A A*B B*C C*D D";
@Explode(TEXT1);

returns "A":"A*B":"B*C":"C*D":"D"

Here the default space is used as separator text.

Example: @Explode(TEXTLIST1)

TEXTLIST1:="A A*B B*C C*D D":"1 1*2 2";
@Explode(TEXTLIST1);

returns "A":"A*B":"B*C":"C*D":"D":"1":"1*2":"2"

Here the default space is used as separator text, each element of TEXTLIST1 is split separately and then all sublists are combined into one total list.

Example: @Explode(TEXTLIST1;SEPTEXT2)

TEXTLIST1:="A A*B B*C C*D D";
SEPTEXT2:="*";
@Explode(TEXTLIST1;SEPTEXT2);

returns "A A":"B B":"C C":"D D"

Here a single asterisk "*" is used as separator text.

Example: @Explode(TEXTLIST1;SEPTEXT2)

TEXTLIST1:="A A*B B*C C*D D":"1 1*2 2";
SEPTEXT2:="*";
@Explode(TEXTLIST1;SEPTEXT2);

returns "A A":"B B":"C C":"D D":"1 1":"2 2"

Here a single asterisk "*" is used as separator text, each element of TEXTLIST1 is split separately and then all sublists are combined into one total list.

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