StringUtils.ReplaceString

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

public static string ReplaceString(string origString,
	string findString,
	string replaceString,
	bool caseInsensitive)

Return Value

updated string or original string if no matches

Parameters

origString
String to do replacements on

findString
The string to find

replaceString
The string to replace found string wiht

caseInsensitive
If true case insensitive search is performed


See also:

Class StringUtils

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic