文档

Unity Engine

Unity Engine

Split

Splits the Format items by the given search character.
阅读时间1 分钟最后更新于 1 个月前

Definition

Split(char)

Splits the Format items by the given search character.
public IList<Format> Split(char search)

Parameters

search

Character used to split.

Returns

Type

Description

IList<Format>The list of Format segments produced by splitting on the character.

Split(char, int)

Splits the Format items by the given search character.
public IList<Format> Split(char search, int maxCount)

Parameters

search

Character used to split.

maxCount

Maximum number of segments to return.

Returns

Type

Description

IList<Format>The list of Format segments produced by splitting on the character.