# UniqueStyleString(string)

> Creates a new UniqueStyleString from a string.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.UIElements](/engine/6000.6/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public UniqueStyleString(string s)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): A string value that this UniqueStyleString will represent.

### Remarks

If provided string is null, the returned result is the same as [UniqueStyleString.Null](/engine/6000.6/script-reference/unityengine/uielements/uniquestylestring/null.md). If provided string is empty, the returned result is the same as [UniqueStyleString.Empty](/engine/6000.6/script-reference/unityengine/uielements/uniquestylestring/empty.md). String values used to create UniqueStyleStrings are stored together internally. UniqueStyleStrings can improve performance when used to replace strings that are very commonly use. Calling this constructor with single-use strings is not recommended.
