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