Click or drag to resize

CSTRiStrncmp Method

Compares two strings to a given number of characters.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static int iStrncmp(
	CGXNETCore gxNetShared,
	string first,
	string second,
	int n_char,
	int case_sensitive
)

public static int iStrncmp(
	CGXNETCore gxNetShared,
	string first,
	string second,
	int n_char,
	int case_sensitive
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
first
Type: SystemString
String A
second
Type: SystemString
String B
n_char
Type: SystemInt32
Number of characters to compare
case_sensitive
Type: SystemInt32
<define>STR_CASE</define>

Return Value

Type: Int32
A < B -1 A == B 0 A > B 1
See Also