 | CSTRIReplaceMatchString Method (CGXNETCore, String, String, String, Int32) |
Replaces all occurances of match string by replacement string with case sensitive.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static void IReplaceMatchString(
CGXNETCore gxNetShared,
ref string istr,
string old,
string new_str,
int size
)
public static void IReplaceMatchString(
CGXNETCore gxNetShared,
ref string istr,
string old,
string new_str,
int size
)
Public Shared Sub IReplaceMatchString (
gxNetShared As CGXNETCore,
ByRef istr As String,
old As String,
new_str As String,
size As Integer
)
Public Shared Sub IReplaceMatchString (
gxNetShared As CGXNETCore,
ByRef istr As String,
old As String,
new_str As String,
size As Integer
)
public:
static void IReplaceMatchString(
CGXNETCore^ gxNetShared,
String^% istr,
String^ old,
String^ new_str,
int size
)
public:
static void IReplaceMatchString(
CGXNETCore^ gxNetShared,
String^% istr,
String^ old,
String^ new_str,
int size
)
static member IReplaceMatchString :
gxNetShared : CGXNETCore *
istr : string byref *
old : string *
new_str : string *
size : int -> unit
static member IReplaceMatchString :
gxNetShared : CGXNETCore *
istr : string byref *
old : string *
new_str : string *
size : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - 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