> 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/randomly/.string.md).

# .String

`Randomly.String` provides random strings, passwords or Lorem Ipsum.

***

### <mark style="color:$success;">String</mark>

* `String(length, charset = Charsets.Alphanumeric)` – Generates a random string of given length from the specified charset.
* `String(minLength, maxLenght, charset = Charsets.Alphanumeric)` – Generates a random string with length in the range \[minLength, maxLength] using the specified charset.

***

### <mark style="color:$success;">Pasword</mark>

* `Password(int length, includeSymbols = true, requireUppercase = true)` – Generates a random password of given length, optionally including symbols and requiring at least one uppercase letter.

***

### <mark style="color:$success;">Lorem Ipsum</mark>

* `LoremSentence(wordCount = 8)` – Generates a random Lorem Ipsum sentence with the specified number of words.
* `LoremParagraph(sentenceCount = 5, minWords = 6, maxWords = 12)` – Generates a random Lorem Ipsum paragraph with the specified number of sentences and word count range.
