Creates a string according to the specified pattern using specified arguments.
The pattern string should contain some text along with format elements looking like:
{ ArgumentIndex }
For example, the call
formatString (
"The summary includes {1} {0}",
"components", 5
)
The summary includes 5 components
java.text.MessageFormat
and basically looks as follows:
MessageFormat.format(pattern, arguments)
Parameters:
pattern
arguments