 | CSTRIReplaceMatchString Method (String, String, String, Int32) |
Replaces all occurances of match string by replacement string with case sensitive.
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void IReplaceMatchString(
ref string istr,
string old,
string new_str,
int size
)
public static void IReplaceMatchString(
ref string istr,
string old,
string new_str,
int size
)
Public Shared Sub IReplaceMatchString (
ByRef istr As String,
old As String,
new_str As String,
size As Integer
)
Public Shared Sub IReplaceMatchString (
ByRef istr As String,
old As String,
new_str As String,
size As Integer
)
public:
static void IReplaceMatchString(
String^% istr,
String^ old,
String^ new_str,
int size
)
public:
static void IReplaceMatchString(
String^% istr,
String^ old,
String^ new_str,
int size
)
static member IReplaceMatchString :
istr : string byref *
old : string *
new_str : string *
size : int -> unit
static member IReplaceMatchString :
istr : string byref *
old : string *
new_str : string *
size : int -> unit
Parameters
- istr
- Type: SystemString
Destination String - old
- Type: SystemString
Match string to replace - new_str
- Type: SystemString
Replacement string - size
- Type: SystemInt32
Size of the Destination String
Remarks
If the replacement string is "" (NULL character)
then the string to replace is removed from the
input string, and the string is shortened.
See Also