Click or drag to resize

Document Replace Method (String, String, Boolean, Boolean)

Replaces all entries of matchString string with newValue string, taking into consideration caseSensitive and wholeWord options.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public int Replace(
	string matchString,
	string newValue,
	bool caseSensitive,
	bool wholeWord
)

Parameters

matchString
Type: System String
newValue
Type: System String
caseSensitive
Type: System Boolean
wholeWord
Type: System Boolean

Return Value

Type: Int32

Implements

IDocument Replace(String, String, Boolean, Boolean)
See Also