---
title: "Class: StringUtils"
canonical_url: "https://nimiq.dev/web-client/reference/classes/stringutils"
---
# Class: StringUtils

[@nimiq/core](../globals) / StringUtils

Defined in: @nimiq/core/lib/index.d.ts:327

## Constructors

### Constructor

> **new StringUtils**(): `StringUtils`

#### Returns

`StringUtils`

## Methods

### isHex()

> `static` **isHex**(`str`): `boolean`

Defined in: @nimiq/core/lib/index.d.ts:329

#### Parameters

##### str

`string`

#### Returns

`boolean`

---

### isHexBytes()

> `static` **isHexBytes**(`str`, `length?`): `boolean`

Defined in: @nimiq/core/lib/index.d.ts:330

#### Parameters

##### str

`string`

##### length?

`number`

#### Returns

`boolean`

---

### isWellFormed()

> `static` **isWellFormed**(`str`): `boolean`

Defined in: @nimiq/core/lib/index.d.ts:328

#### Parameters

##### str

`string`

#### Returns

`boolean`


## Sitemap

See the full [sitemap](https://nimiq.dev/sitemap.md) for all pages.
