文档

Unity Engine

Unity Engine

Substring

Gets a substring of the current Format.
阅读时间1 分钟最后更新于 1 个月前

Definition

Substring(int)

Gets a substring of the current Format.
public Format Substring(int start)

Parameters

start

Start index of the substring.

Returns

Type

Description

FormatThe substring of the current Format.

Substring(int, int)

Gets a substring of the current Format.
public Format Substring(int start, int length)

Parameters

start

Start index of the substring.

length

Number of characters in the substring.

Returns

Type

Description

FormatThe substring of the current Format.