| CSTRiStrncmp Method |
Compares two strings to a given number of characters.
Available since Oasis montaj version: 5.0.5
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Syntax public static int iStrncmp(
string str1,
string str2,
int i3,
int i4
)
Public Shared Function iStrncmp (
str1 As String,
str2 As String,
i3 As Integer,
i4 As Integer
) As Integer
public:
static int iStrncmp(
String^ str1,
String^ str2,
int i3,
int i4
)
static member iStrncmp :
str1 : string *
str2 : string *
i3 : int *
i4 : int -> int
Parameters
- str1
- Type: SystemString
string A - str2
- Type: SystemString
string B - i3
- Type: SystemInt32
number of characters to compare - i4
- Type: SystemInt32
See STR_CASEConstant
Return Value
Type:
Int32
A < B -1
A == B 0
A > B 1
See Also