# AsSpan()

> Gets the character span for the LiteralText, with escaped characters converted. Note: The Parser puts each escaped character of an input string into its own LiteralText item.

## Definition

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

```csharp
public override ReadOnlySpan<char> AsSpan()
```

### Returns

| Type                                                                                | Description                                                                                                                                                  |
| ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [ReadOnlySpan\<char>](https://learn.microsoft.com/dotnet/api/system.readonlyspan-1) | The character span for the [LiteralText](/engine/6000.7/script-reference/unity/smartstrings/core/parsing/literaltext.md), with escaped characters converted. |
