StringView.EndsWith

Declaration

public bool EndsWith(char c, stringComparison sc);

Parameters

c A character.
sc A string comparison option.

Returns

bool True if the StringView ends with c, otherwise false.

Description

Checks if the StringView ends with the character c.


Declaration

public bool EndsWith(string v, stringComparison sc);

Parameters

v A string.
sc A string comparison option.

Returns

bool True if the StringView ends with v, otherwise false.

Description

Checks if the StringView ends with the string v.


Did you find this page useful? Please give it a rating: