StringView.Contains

Declaration

public bool Contains(char c, stringComparison ordinal);

Parameters

c A character.
ordinal A string comparison option.

Returns

bool True if the character is found, otherwise false.

Description

Checks if a character is contained in the StringView.


Declaration

public bool Contains(string s, stringComparison ordinal);

Parameters

s A string.
ordinal A string comparison option.

Returns

bool True if the string is found, otherwise false.

Description

Checks if a string is contained in the StringView.


Declaration

public bool Contains(stringView s, stringComparison ordinal);

Parameters

s A StringView.
ordinal A string comparison option.

Returns

bool True if the StringView is found, otherwise false.

Description

Checks if a StringView is contained in the StringView.


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