Version: 2022.2
言語: 日本語
public bool Contains (char c, stringComparison ordinal);

パラメーター

c A character.
ordinal A string comparison option.

戻り値

bool True if the character is found, otherwise false.

説明

Checks if a character is contained in the StringView.


public bool Contains (string s, stringComparison ordinal);

パラメーター

s A string.
ordinal A string comparison option.

戻り値

bool True if the string is found, otherwise false.

説明

Checks if a string is contained in the StringView.


public bool Contains (stringView s, stringComparison ordinal);

パラメーター

s A StringView.
ordinal A string comparison option.

戻り値

bool True if the StringView is found, otherwise false.

説明

Checks if a StringView is contained in the StringView.