Example: Conditioned Text

Use

This example shows how to use conditioned text to remove repetitions of the same text. You want to output a list of substance components.

Note that the symbol keys listed are examples. In the example, all characters (formatted both as hidden and not hidden) for the symbols are shown visible.

Without Conditioned Text

<11BRG001(M,SAP_EHS_1012_003;*)>

<11BRG002(S:POS;*)>

<03EHS_L_TEXT(CED-SDB-01.007)>:

<01GESTRIDENT(I:NAM,IUPAC,;*)>

<11ERG002>

<11ERG001>

This generates the following output:

Component:

Benzene

Component:

Toluene

Component:

Ethanol

With conditioned text

<11BRG001(M:SAP_EHS_1012_003;*)>

<11BRG002(S:POS;*)>

[ <03EHS_L_TEXT(CED-SDB-01.007)> ] :

<01GESTRIDENT(I:NAM,IUPAC,;*)>

<11ERG002>

<11ERG001>

This generates the following output:

Component:

Benzene

Toluene

Ethanol