# Initialize(SmartSettings, FormatItem, string, int, int)

> Initializes the LiteralText instance, representing the literal text that is found in a parsed format string.

## Definition

* **Type:** Method
* **Namespace:** [Unity.SmartStrings.Core.Parsing](/engine/6000.7/script-reference/unity/smartstrings/core/parsing.md)
* **Assembly:** UnityEngine.SmartStringsModule

```csharp
public LiteralText Initialize(SmartSettings smartSettings, FormatItem parent, string baseString, int startIndex, int endIndex)
```

### Parameters

**** (\[SmartSettings]\(/engine/6000.7/script-reference/unity/smartstrings/core/settings/smartsettings)): Formatter and parser settings.**** (\[FormatItem]\(/engine/6000.7/script-reference/unity/smartstrings/core/parsing/formatitem)): Parent [FormatItem](/engine/6000.7/script-reference/unity/smartstrings/core/parsing/formatitem.md).**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Reference to the parsed format string.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Start index of the [LiteralText](/engine/6000.7/script-reference/unity/smartstrings/core/parsing/literaltext.md) in the format string.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): End index of the [LiteralText](/engine/6000.7/script-reference/unity/smartstrings/core/parsing/literaltext.md) in the format string.

### Returns

| Type                                                                                          | Description                                                                                                                                                                        |
| --------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [LiteralText](/engine/6000.7/script-reference/unity/smartstrings/core/parsing/literaltext.md) | The [LiteralText](/engine/6000.7/script-reference/unity/smartstrings/core/parsing/literaltext.md) instance, representing the literal text that is found in a parsed format string. |
