| CSTRReplaceChar Method |
Replaces characters in a string.
Available since Oasis montaj version: 5.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
If the input replacement character is "", then the
string will be truncated at the first character to replace.
Syntax public static void ReplaceChar(
CGXNETCore gxNetShared,
ref string istr,
string old,
string new_char
)
Public Shared Sub ReplaceChar (
gxNetShared As CGXNETCore,
ByRef istr As String,
old As String,
new_char As String
)
public:
static void ReplaceChar(
CGXNETCore^ gxNetShared,
String^% istr,
String^ old,
String^ new_char
)
static member ReplaceChar :
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)
See Also