> For the complete documentation index, see [llms.txt](https://pahutyakv.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pahutyakv.gitbook.io/docs/mega-extension-pack/string.md).

# String

#### **Checks**

* `IsNullOrWhiteSpace()` — Checks if the string is null, empty, or consists only of whitespace characters.
* `IsNullOrEmpty()` — Checks if the string is null or empty.
* `IsBlank()` — Checks if the string is either null, empty, or whitespace.
* `IsNumeric()` — Checks if the string represents a numeric value.

***

#### **Reverse**

* `Reversed()` — Returns a new string with characters in reverse order.

***

#### **Remove Whitespaces**

* `RemoveWhitespace()` — Returns a new string with all whitespace characters removed.

***

#### **Repeat**

* `Repeat(int times)` — Repeats the string a specified number of times.

***

#### **Truncate**

* `Truncate(int maxLength)` — Truncates the string to a specified maximum length.
