{CompanyName} FlexyGo

Util..::..SafeReplace Method

String replace with exact match.

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

Syntax


public static string SafeReplace(
	string input,
	string find,
	string replace,
	bool matchWholeWord
)
Public Shared Function SafeReplace ( _
	input As String, _
	find As String, _
	replace As String, _
	matchWholeWord As Boolean _
) As String

Parameters

input
Type: String
The input string.
find
Type: String
The string to find.
replace
Type: String
The replace string.
matchWholeWord
Type: Boolean
if set to true [match whole word].

Return Value

System.String.