BodyRegion
Replace Method (String, String, Boolean, Boolean)
|
Replaces by specified matchString string.
Namespace:
Spire.Doc
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public abstract int Replace(
string given,
string replace,
bool caseSensitive,
bool wholeWord
)
Public MustOverride Function Replace (
given As String,
replace As String,
caseSensitive As Boolean,
wholeWord As Boolean
) As Integer
public:
virtual int Replace(
String^ given,
String^ replace,
bool caseSensitive,
bool wholeWord
) abstract
abstract Replace :
given : string *
replace : string *
caseSensitive : bool *
wholeWord : bool -> int
Parameters
-
given
-
Type:
System
String
-
replace
-
Type:
System
String
-
caseSensitive
-
Type:
System
Boolean
if set to
true
case sensitive newValue.
-
wholeWord
-
Type:
System
Boolean
if it replaces only whole word, set to
true
.
Return Value
Type:
Int32
Implements
IBodyRegion
Replace(String, String, Boolean, Boolean)
See Also