---
title: "Class TextUtils | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Utils/TextUtils/"
---

# Class TextUtils

> **Inheritance:** `System.Object` -> TextUtils

###### **Namespace**: [Aurigma.DesignAtoms.Model.Utils](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Utils.md)

###### **Assembly**: Aurigma.DesignAtoms.Model.dll

```csharp title="Syntax"
public class TextUtils
```

## Inherited Members

* `System.Object.ToString`
* `System.Object.Equals(System.Object)`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetHashCode`
* `System.Object.GetType`
* `System.Object.MemberwiseClone`

## Constructors

### TextUtils

```csharp
public TextUtils()
```

## Methods

### IsValidXml

```csharp
public static bool IsValidXml(string text)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.String` | *text* |  |

##### Returns

`System.Boolean`

### FixAmps

```csharp
public static string FixAmps(string str)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.String` | *str* |  |

##### Returns

`System.String`
