 | 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
Syntaxpublic 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
)
Public Shared Function iStrncmp (
gxNetShared As CGXNETCore,
first As String,
second As String,
n_char As Integer,
case_sensitive As Integer
) As Integer
Public Shared Function iStrncmp (
gxNetShared As CGXNETCore,
first As String,
second As String,
n_char As Integer,
case_sensitive As Integer
) As Integer
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
)
static member iStrncmp :
gxNetShared : CGXNETCore *
first : string *
second : string *
n_char : int *
case_sensitive : int -> int
static member iStrncmp :
gxNetShared : CGXNETCore *
first : string *
second : string *
n_char : int *
case_sensitive : int -> int
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