EndsWith
Checks if the StringView ends with the character c.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
EndsWith(char, StringComparison)
Checks if the StringView ends with the character c.
public bool EndsWith(char c, StringComparison sc = StringComparison.Ordinal)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if the StringView ends with c, otherwise false. |
EndsWith(string, StringComparison)
Checks if the StringView ends with the string v.
public bool EndsWith(string v, StringComparison sc = StringComparison.Ordinal)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if the StringView ends with v, otherwise false. |