HtmlEscape(input, leaveSingleQuotesAlone, leaveDoubleQuotesAlone) Indent(str, by, indentFirstLine) ParseInt(str, default_, style, provider) Replace(str, oldValue, newValue, comparison)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Extension method: string Replace(this string, string, string, StringComparison)Declarationpublic static string Replace(
this string str,
string oldValue,
string newValue,
StringComparison comparison
) Summary
Returns a new string in which all occurrences of oldValue in the current instance, identified
using the specified string comparison, are replaced with newValue. |