Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SubStringFormatter

Outputs part of an input string.
Read time 1 minuteLast updated 13 days ago

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