 | CSTRReplaceMultiChar Method |
Replaces multiple characters in a string.
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void ReplaceMultiChar(
ref string istr,
string old,
string new_char
)
public static void ReplaceMultiChar(
ref string istr,
string old,
string new_char
)
Public Shared Sub ReplaceMultiChar (
ByRef istr As String,
old As String,
new_char As String
)
Public Shared Sub ReplaceMultiChar (
ByRef istr As String,
old As String,
new_char As String
)
public:
static void ReplaceMultiChar(
String^% istr,
String^ old,
String^ new_char
)
public:
static void ReplaceMultiChar(
String^% istr,
String^ old,
String^ new_char
)
static member ReplaceMultiChar :
istr : string byref *
old : string *
new_char : string -> unit
static member ReplaceMultiChar :
istr : string byref *
old : string *
new_char : string -> unit
Parameters
- istr
- Type: SystemString
String to modify - old
- Type: SystemString
Characters to replace - new_char
- Type: SystemString
Replacement characters
Remarks
The number of characters to replace must equal
the number of replacement characters.
See Also