Click or drag to resize

IDocument ReplaceInLine Method (String, String, Boolean, Boolean)

Replaces all entries of matchString text with newValue text in single-line mode.

Namespace: Spire.Doc.Interface
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
int ReplaceInLine(
	string given,
	string replace,
	bool caseSensitive,
	bool wholeWord
)

Parameters

given
Type: System String
replace
Type: System String
caseSensitive
Type: System Boolean
wholeWord
Type: System Boolean
if it specifies whole word to be newValue, set to true .

Return Value

Type: Int32
The number of performed replaces.
See Also