Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Div
classapi-page

fluid.formatMessage(messageString, args)

Section
Column
width70%

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.

Code Block
javascript
javascript
bgColorwhite
borderStylenonejavascript
fluid.formatMessage(messageString, args);

File name: JavaProperties.js

Parameters

Span
classborderless-table

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

Span
classborderless-table

String

The formatted string

Column
width5%

Column

See Also


Example

Code Block
javascript
javascript
example here

In this example, description here...