# StringToValue(string)

> Converts a string to an unsigned integer.

## Definition

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

```csharp
protected override uint StringToValue(string str)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The string to convert.

### Returns

| Type                                                         | Description                                  |
| ------------------------------------------------------------ | -------------------------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | The unsigned integer parsed from the string. |
