Click or drag to resize

StringUtilsReplaceString Method

Replaces a substring within a string with another substring with optional case sensitivity turned off.

Namespace:  Koden.Utils
Assembly:  Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntax
public static string ReplaceString(
	string origString,
	string findString,
	string replaceString,
	bool caseInsensitive
)

Parameters

origString
Type: SystemString
String to do replacements on
findString
Type: SystemString
The string to find
replaceString
Type: SystemString
The string to replace found string wiht
caseInsensitive
Type: SystemBoolean
If true case insensitive search is performed

Return Value

Type: String
updated string or original string if no matches
See Also