This documentation is currently being moved to our new documentation site.

Please view or edit the documentation there, instead.

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...