Click or drag to resize

CSTRiStrncmp Method

Compares two strings to a given number of characters.

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

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

Parameters

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