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, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic