Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NB:  This activity performs a very similar function to the SUBSTITUTE activity but uses a different means of specifying the variable data to be substituted into the string.  You can use either activity according to your requirements or preference.

INPUT Parameters:

STRINGIN: Required

This parameter specifies the string that is to be formatted.  The string may contain embedded references to processing sequence variables (eg: &myvar) and/or built-in variables (eg: *tradingpartner) that will be replaced by the current variable values.  Support for indexed variable references (eg: &myvar(2) OR &myvar(&myindex) ) is provided.

...

If two ampersands (&&) or two asterisks (**) appear together in the string, they are reduced to a single ampersand or asterisk and not considered for substitution.

OUTPUT Parameters:

STRINGOUT:

Upon completion, this parameter will contain the formatted string.