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

text string
The text to search and replace in.
oldValue string
The string to replace.
newValue string
The string to replace oldValue with.

Returns

string
The text with all occurrences of oldValue replaced by newValue.