Contains
Checks if a character is contained in the StringView.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
Contains(char, StringComparison)
Checks if a character is contained in the StringView.
public bool Contains(char c, StringComparison ordinal = StringComparison.Ordinal)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if the character is found, otherwise false. |
Contains(StringView, StringComparison)
Checks if a character is contained in the StringView.
public bool Contains(StringView s, StringComparison ordinal = StringComparison.Ordinal)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if the character is found, otherwise false. |
Contains(string, StringComparison)
Checks if a character is contained in the StringView.
public bool Contains(string s, StringComparison ordinal = StringComparison.Ordinal)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if the character is found, otherwise false. |