SplitFileEntryComponents
Split a file entry according to a list of separators and find all the variations on the entry name.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
SplitFileEntryComponents(string, char[])
Split a file entry according to a list of separators and find all the variations on the entry name.
public static IEnumerable<string> SplitFileEntryComponents(string path, in char[] entrySeparators)
Parameters
Returns
Type | Description |
|---|---|
| IEnumerable<string> | Returns list of tokens and variations in lowercase. |
SplitFileEntryComponents(string, char[], int)
Split a file entry according to a list of separators and find all the variations on the entry name.
public static IEnumerable<string> SplitFileEntryComponents(string path, in char[] entrySeparators, int minTokenLength)
Parameters
Returns
Type | Description |
|---|---|
| IEnumerable<string> | Returns list of tokens and variations in lowercase. |