InstallAware for Windows Installer
 

Format String

This command formats a string array (where each element of the array is delineated by the $NEWLINE$ variable) according to a specified format string.

Variable

The variable in this field will receive the formatted string.

Format String

Type the format string to use here. Variables are allowed in this field, and will be dereferenced before being used as the format string.

The format string may contain zero indexed numerals wrapped in curly braces, indicating the insertion positions for the string array elements as specified in the String Array parameter below.

For example, the format string Two: {1}, One: {0}, Three: {2} would insert up to three string array members, into their respective positions as specified in the format string. Any additional array members from the string array would remain unused.

String Array

Type the string array to format here.

For example, passing A$NEWLINE$B$NEWLINE$C in this field with the example Format String parameter above, would result in the string literal Two: B, One: A, Three: C to be recorded in the Variable parameter above. Any missing array members, such as {4}, would not be formatted; and left as-is in the returned variable.

Variables are allowed in this field. You may also use the same variable as specified in the Variable field above, to format a string array already stored in that variable; with just a single invocation of this command.