ISDBApplication::Format

From MediaMonkey Wiki
Revision as of 22:45, 20 March 2007 by Jiri (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ISDBApplication::Format

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 Items

SDBApplication::LocalizedFormat