Click or drag to resize

CSTRTrimSpace Method

Remove leading and/or trailing whitespace.

Namespace:  GeoEngine.Core.GXNet
Assembly:  geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void TrimSpace(
	ref string str_val,
	int trim
)

public static void TrimSpace(
	ref string str_val,
	int trim
)

Parameters

str_val
Type: SystemString
String to trim
trim
Type: SystemInt32
<define>STR_TRIM</define>
Remarks
THE STRING IS MODIFIED. Whitespace characters are defined as space, tab, carriage return, new line, vertical tab or formfeed (0x09 to 0x0D, 0x20)
See Also