Method EndsWith
EndsWith(Char[], Int32, String)
Returns true if the character array ends with the suffix.
Declaration
public static bool EndsWith(char[] s, int len, string suffix)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | s | Input Buffer |
System.Int32 | len | length of input buffer |
System.String | suffix | Suffix string to test |
Returns
Type | Description |
---|---|
System.Boolean |
|
EndsWith(Char[], Int32, Char[])
Returns true if the character array ends with the suffix.
Declaration
public static bool EndsWith(char[] s, int len, char[] suffix)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | s | Input Buffer |
System.Int32 | len | length of input buffer |
System.Char[] | suffix | Suffix string to test |
Returns
Type | Description |
---|---|
System.Boolean |
|