This function provides the formatting of simple data types into a predefined string.
object.FormatStr2(aFormat, aArg0, aArg1)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISLanguageUtils interface |
|
aFormat |
In, Required | string |
The string where the data will be
entered |
aArg0 |
In, Required | object |
The first argument to be entered into the
string |
aArg1 |
In, Required | object |
The second argument to be entered into the
string |
string
Display the result of formatting of the specified data into a string.
Dim aLanguageUtils
Dim aMessage
Set aLanguageUtils = Profile.LanguageUtils
aMessage =_
aLanguageUtils.FormatStr2("The current configuration has ""%0:s"" UI language and ""%1:s"" DB language",_
aLanguageUtils.GetUILanguage, aLanguageUtils.GetDBLanguage)
Profile.MsgBox(aMessage)