{CompanyName} FlexyGo

Util..::..FormatedReplace Method

Performs replace formating string key|FormatType:Format. Dates: key|Date:dd/MM/yy Boolean: Key|bool:Yes,No Decimal: Key|decimal:2

Namespace:  FLEXYGO.Utilities.General
Assembly:  flxUtilities (in flxUtilities.dll)

Syntax


public static string FormatedReplace(
	string str,
	string marker,
	Object newValue,
	Type type
)
Public Shared Function FormatedReplace ( _
	str As String, _
	marker As String, _
	newValue As Object, _
	type As Type _
) As String

Parameters

str
Type: String
The string.
marker
Type: String
The marker to parse.
newValue
Type: Object
The new value.
type
Type: Type
The desdired type of the value, to replace it using invariant culture format.

Return Value

System.String.