Click or drag to resize

CSTRReplaceChar Method

Replaces characters in a string.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static void ReplaceChar(
	CGXNETCore gxNetShared,
	ref string istr,
	string old,
	string new_char
)

public static void ReplaceChar(
	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)
Remarks
If the input replacement character is "", then the string will be truncated at the first character to replace.
See Also