StringView.StartsWith

Declaration

public bool StartsWith(char c, stringComparison stringComparison);

Parameters

c A character.
stringComparison A string comparison option.

Returns

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

Description

Checks if the StringView starts with the character c.


Declaration

public bool StartsWith(string v, stringComparison sc);

Parameters

v A string.
sc A string comparison option.

Returns

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

Description

Checks if the StringView starts with the string v.


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