Documentation for a historical release of Infusion: 1.4
Please view the Infusion Documentation site for the latest documentation, or the Infusion 1.3. Documentation for the previous release.
If you're looking for Fluid Project coordination, design, communication, etc, try the Fluid Project Wiki.

fluid.formatMessage

fluid.formatMessage(messageString, args)

Expand a message string with respect to a set of arguments, following a basic subset of the Java Message Format rules.

The message string is expected to contain replacement specifications such as {0}, {1}, {2}, etc.

fluid.formatMessage(messageString, args);

File name: JavaProperties.js

Parameters

messageString (String) The message key to be expanded
args (String|Array of Strings) An array of arguments to be substituted into the message.

Return Value

String The formatted string


Example

example here

In this example, description here...