XsltTextTools.Replace Method
- Namespace
- Kampute.DocToolkit.Xslt
- Assembly
- Kampute.DocToolkit.dll
Definition
Replaces all occurrences of a specified string in the provided text with a new value.
public string Replace(string text, string oldValue, string newValue)Parameters
textstring- The text to search and replace in.
oldValuestring- The string to replace.
newValuestring- The string to replace
oldValuewith.
Returns
- string
- The text with all occurrences of
oldValuereplaced bynewValue.
