Method StrCmp
StrCmp(Char[], Int32, Char[], Int32)
Compares 2 null terminated char arrays
Declaration
public static int StrCmp(char[] a, int startA, char[] b, int startB)
Parameters
Type |
Name |
Description |
System.Char[] |
a |
|
System.Int32 |
startA |
|
System.Char[] |
b |
|
System.Int32 |
startB |
|
Returns
Type |
Description |
System.Int32 |
|
StrCmp(String, Char[], Int32)
Compares a string with null terminated char array
Declaration
public static int StrCmp(string str, char[] a, int start)
Parameters
Type |
Name |
Description |
System.String |
str |
|
System.Char[] |
a |
|
System.Int32 |
start |
|
Returns
Type |
Description |
System.Int32 |
|