ISLanguageUtils.FormatStr

Description

This function provides the formatting of simple data types into a predefined string.

Syntax

object.FormatStr(aFormat, aArg0)

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 argument to be entered into the string

Return Value

string

Returns the result of formatting of the specified data into a string.

Example

Display the result of formatting of the specified data into a string.

Dim aLanguageUtils
Dim aMessage

Set aLanguageUtils = Profile.LanguageUtils

aMessage =_
  aLanguageUtils.FormatStr("The current configuration has ""%0:s"" UI language",_
  aLanguageUtils.GetUILanguage)
   
Profile.MsgBox(aMessage)  
Note:

Version information

Added in v7.9.0