Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Substring

Gets a substring of the current Format.
Read time 1 minuteLast updated 7 days ago

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.