LastIndexOf
Returns the index of the last occurence of another StringView within this one.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
LastIndexOf(StringView, StringComparison)
Returns the index of the last occurence of another StringView within this one.
public int LastIndexOf(StringView other, StringComparison sc = StringComparison.Ordinal)
Parameters
Returns
Type | Description |
|---|---|
| int | The last index where the StringView is found, otherwise -1. |
LastIndexOf(string, StringComparison)
Returns the index of the last occurence of another StringView within this one.
public int LastIndexOf(string other, StringComparison sc = StringComparison.Ordinal)
Parameters
Returns
Type | Description |
|---|---|
| int | The last index where the StringView is found, otherwise -1. |
LastIndexOf(char, StringComparison)
Returns the index of the last occurence of another StringView within this one.
public int LastIndexOf(char other, StringComparison sc = StringComparison.Ordinal)
Parameters
Returns
Type | Description |
|---|---|
| int | The last index where the StringView is found, otherwise -1. |