 | CSTRReplaceChar2 Method |
Replaces characters in a string, supports simple removal.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static void ReplaceChar2(
CGXNETCore gxNetShared,
ref string istr,
string old,
string new_char
)
public static void ReplaceChar2(
CGXNETCore gxNetShared,
ref string istr,
string old,
string new_char
)
Public Shared Sub ReplaceChar2 (
gxNetShared As CGXNETCore,
ByRef istr As String,
old As String,
new_char As String
)
Public Shared Sub ReplaceChar2 (
gxNetShared As CGXNETCore,
ByRef istr As String,
old As String,
new_char As String
)
public:
static void ReplaceChar2(
CGXNETCore^ gxNetShared,
String^% istr,
String^ old,
String^ new_char
)
public:
static void ReplaceChar2(
CGXNETCore^ gxNetShared,
String^% istr,
String^ old,
String^ new_char
)
static member ReplaceChar2 :
gxNetShared : CGXNETCore *
istr : string byref *
old : string *
new_char : string -> unit
static member ReplaceChar2 :
gxNetShared : CGXNETCore *
istr : string byref *
old : string *
new_char : string -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - istr
- Type: SystemString
String to modify - old
- Type: SystemString
Character to replace (first character only) - new_char
- Type: SystemString
Replacement character (first character only)
Remarks
If the replacement character is "" (NULL character)
then the character to replace is removed from the
input string, and the string is shortened.
See Also