文档

Unity Engine

Unity Engine

SubStringFormatter

Outputs part of an input string.
阅读时间1 分钟最后更新于 1 个月前

Definition

public class SubStringFormatter : FormatterBase, IFormatter

Properties

Property

Description

NullDisplayStringThe string to display for NULL values, defaults to
(null)
.
OutOfRangeBehaviorThe behavior when start index and/or length are too big, defaults to SubStringFormatter.SubStringOutOfRangeBehavior.ReturnEmptyString.
SplitCharThe character used to split the option text literals. Valid characters are: | (pipe) , (comma) ~ (tilde)

Enums

Enum

Description

SubStringFormatter.SubStringOutOfRangeBehaviorSpecifies behavior when start index and/or length is out of range.

Inheritance