# StringSource

> Evaluates a Selector with a string as ISelectorInfo.CurrentValue. Include this source for handling string and its extension methods.

## Definition

* **Type:** Class
* **Namespace:** [Unity.SmartStrings.Extensions](/engine/6000.7/script-reference/unity/smartstrings/extensions.md)
* **Assembly:** UnityEngine.SmartStringsModule
* **Inherits from:** [Source](/engine/6000.7/script-reference/unity/smartstrings/core/extensions/source.md)
* **Implements:** [ISource](/engine/6000.7/script-reference/unity/smartstrings/core/extensions/isource.md), [IInitializer](/engine/6000.7/script-reference/unity/smartstrings/core/extensions/iinitializer.md)

```csharp
public class StringSource : Source, ISource, IInitializer
```

## Properties

| Property                                                                                                                 | Description                                                                                       |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------- |
| [SelectorMethods](/engine/6000.7/script-reference/unity/smartstrings/extensions/stringsource/selectormethods.md)         | A Dictionary\_2 of methods that can be used as selectors.                                         |
| [UseInvariantCulture](/engine/6000.7/script-reference/unity/smartstrings/extensions/stringsource/useinvariantculture.md) | When `true`, uses InvariantCulture when performing string operations, otherwise uses the Locale . |

## Inheritance

**Inherited Members:**

* [Source.m\_Formatter](/engine/6000.7/script-reference/unity/smartstrings/core/extensions/source/m-formatter.md)
* [Source.m\_SmartSettings](/engine/6000.7/script-reference/unity/smartstrings/core/extensions/source/m-smartsettings.md)
* [Source.TrySetResultForNullableOperator(ISelectorInfo)](/engine/6000.7/script-reference/unity/smartstrings/core/extensions/source/trysetresultfornullableoperator.md)
