Click or drag to resize
CSTRReplaceChar2 Method
Replaces characters in a string, supports simple removal.

Available since Oasis montaj version: 6.3
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
If the replacement character is "" (NULL character) then the character to replace is removed from the input string, and the string is shortened.
Syntax
public static void ReplaceChar2(
	CGXNETCore gxNetShared,
	ref string istr,
	string old,
	string new_char
)

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