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 |
---|---|
SubStringFormatter() | Creates a new instance of the formatter. |
Properties
Name | Description |
---|---|
DefaultNames | |
NullDisplayString | Get or set the string to display for NULL values, defaults to "(null)". |
OutOfRangeBehavior | Get or set the behavior for when start index and/or length is too great, defaults to ReturnEmptyString. |
ParameterDelimiter | The delimiter to separate parameters, defaults to comma. |
Methods
Name | Description |
---|---|
TryEvaluateFormat(IFormattingInfo) | Tries to process the given IFormattingInfo. |