ISDBApplication::Format

From MediaMonkey Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

CoClass SDBApplication, Interface ISDBApplication

Function Format(Text As String, Param1, Param2, Param3) As String


Parameters

Name Type Description
Text String Text with parameters to be replaced
Param1 Variant Parameter 1 (number or string)
Param2 Variant Parameter 2 (number or string)
Param3 Variant Parameter 3 (number or string)


Method description

Works similarly to c printf function, modifies text with specified parameters. It's fixed to three parameters, use some dummy ones if you need less of them.

Example code

SDB.Format( "Number is: %d and string is: %s", 10, "Hello", 0)

Related Topics