Class SubStringFormatter
Formatter to access part of a string.
Inherited Members
Namespace: UnityEngine .Localization.SmartFormat .Extensions
Assembly: Unity.Localization.dll
Syntax
[Serializable]
public class SubStringFormatter : FormatterBase, IFormatter, ISerializationCallbackReceiver
Constructors
Name | Description |
---|---|
Sub |
Creates a new instance of the formatter. |
Properties
Name | Description |
---|---|
Default |
|
Null |
Get or set the string to display for NULL values, defaults to "(null)". |
Out |
Get or set the behavior for when start index and/or length is too great, defaults to Return |
Parameter |
The delimiter to separate parameters, defaults to comma. |
Methods
Name | Description |
---|---|
Try |
Tries to process the given IFormatting |