ISDBApplication::Format
Jump to navigation
Jump to search
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)