---
title: "StringUtils | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms-text/StringUtils/"
---

# StringUtils

> [`StringUtils`](#stringutils)

## Classes

### StringUtils

#### Constructors

##### Constructor

```ts
new StringUtils(): StringUtils;
```

###### Returns

#### Methods

##### containsRtlChars()

```ts
static containsRtlChars(str): boolean;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `str` | `string` |

###### Returns

`boolean`

##### insert()

```ts
static insert(
   str, 
   index, 
   value): string;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `str` | `string` |
| `index` | `number` |
| `value` | `string` |

###### Returns

`string`
