public static string ReplaceStringInstance(string origString, string findString, string replaceWith, int instance, bool caseInsensitive);
findString
The string that is to be replaced
replaceWith
The replacement string
instance
Instance of the FindString that is to be found. if Instance = -1 all are replaced
caseInsensitive
Case insensitivity flag