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 |
|---|
| bgColor | white |
|---|
| borderStyle | nonejavascript |
|---|
|
fluid.formatMessage(messageString, args);
|
File name: JavaProperties.js | Span (Deprecated) |
|---|
| messageString
| (String) The message key to be expanded | args
| (String|Array of Strings) An array of arguments to be substituted into the message. |
|
| Span (Deprecated) |
|---|
| String | The formatted string |
|
|