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

See Also


Example

example here

In this example, description here...