ドキュメント

Unity Engine

Unity Engine

SplitFileEntryComponents

Split a file entry according to a list of separators and find all the variations on the entry name.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

path

Path to tokenize.

entrySeparators

Entry separators used to tokenize the path.

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

path

Path to tokenize.

entrySeparators

Entry separators used to tokenize the path.

minTokenLength

Returns

Type

Description

IEnumerable<string>Returns list of tokens and variations in lowercase.