IDocument
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.Interface
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
int Replace(
string given,
string replace,
bool caseSensitive,
bool wholeWord
)
Function Replace (
given As String,
replace As String,
caseSensitive As Boolean,
wholeWord As Boolean
) As Integer
int Replace(
String^ given,
String^ replace,
bool caseSensitive,
bool wholeWord
)
abstract Replace :
given : string *
replace : string *
caseSensitive : bool *
wholeWord : bool -> int
Parameters
-
given
-
Type:
System
String
-
replace
-
Type:
System
String
-
caseSensitive
-
Type:
System
Boolean
-
wholeWord
-
Type:
System
Boolean
Return Value
Type:
Int32
See Also