Document
ReplaceInLine Method (String, String, Boolean, Boolean)
|
Replaces all entries of matchString text with newValue text in single-line mode.
Namespace:
Spire.Doc
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public int ReplaceInLine(
string matchString,
string newValue,
bool caseSensitive,
bool wholeWord
)
Public Function ReplaceInLine (
matchString As String,
newValue As String,
caseSensitive As Boolean,
wholeWord As Boolean
) As Integer
public:
virtual int ReplaceInLine(
String^ matchString,
String^ newValue,
bool caseSensitive,
bool wholeWord
) sealed
abstract ReplaceInLine :
matchString : string *
newValue : string *
caseSensitive : bool *
wholeWord : bool -> int
override ReplaceInLine :
matchString : string *
newValue : string *
caseSensitive : bool *
wholeWord : bool -> int
Parameters
-
matchString
-
Type:
System
String
The matchString.
-
newValue
-
Type:
System
String
The newValue.
-
caseSensitive
-
Type:
System
Boolean
-
wholeWord
-
Type:
System
Boolean
if it specifies only whole word will be replaced, set to
true
.
Return Value
Type:
Int32
Implements
IDocument
ReplaceInLine(String, String, Boolean, Boolean)
See Also