SubStringFormatter
Outputs part of an input string.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Class
- Namespace: Unity.SmartStrings.Extensions
- Assembly: UnityEngine.SmartStringsModule
- Inherits from: FormatterBase
- Implements: IFormatter
public class SubStringFormatter : FormatterBase, IFormatter
Properties
Property | Description |
|---|---|
| NullDisplayString | The string to display for NULL values, defaults to |
| OutOfRangeBehavior | The behavior when start index and/or length are too big, defaults to SubStringFormatter.SubStringOutOfRangeBehavior.ReturnEmptyString. |
| SplitChar | The character used to split the option text literals. Valid characters are: | (pipe) , (comma) ~ (tilde) |
Enums
Enum | Description |
|---|---|
| SubStringFormatter.SubStringOutOfRangeBehavior | Specifies behavior when start index and/or length is out of range. |