 | CSTRIReplaceiMatchString Method (String, String, String, Int32) |
Replaces all occurances of match string by replacement string with case insensitive.
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void IReplaceiMatchString(
ref string istr,
string old,
string new_str,
int size
)
public static void IReplaceiMatchString(
ref string istr,
string old,
string new_str,
int size
)
Public Shared Sub IReplaceiMatchString (
ByRef istr As String,
old As String,
new_str As String,
size As Integer
)
Public Shared Sub IReplaceiMatchString (
ByRef istr As String,
old As String,
new_str As String,
size As Integer
)
public:
static void IReplaceiMatchString(
String^% istr,
String^ old,
String^ new_str,
int size
)
public:
static void IReplaceiMatchString(
String^% istr,
String^ old,
String^ new_str,
int size
)
static member IReplaceiMatchString :
istr : string byref *
old : string *
new_str : string *
size : int -> unit
static member IReplaceiMatchString :
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