cString: FormatEx

FormatEx

Formats a string by replacing each argument with the formatted equivalent.



 Public Function FormatEx(
	  ByVal Provider As IFormatProvider,
	  ByRef fmt As String,
	  ParamArray args ( ) As Variant ) As String

Parameters

Provider
[ByVal] IFormatProvider. A custom format provider that is used to format the argument instead of the default formatting.
fmt
[ByRef] String. The string containing formatting information.
args
[ByRef] Variant. A list of arguments to use in replacing the formatting information.

Return Values

String -  A formatted string.

Remarks

See Also

Project VBCorLib Overview Class cString Overview cString Properties cString Methods FormatArrayEx FromCharArray NumberFormatInfo DateTimeFormatInfo