> For the complete documentation index, see [llms.txt](https://appmaster.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://appmaster.gitbook.io/docs/business-logic/block/functions/string/random-string.md).

# Random String

Returns a random string with selected characters.

### Flow Connections <a href="#flow-connections" id="flow-connections"></a>

* \[Input] In - starts the block's execution.
* \[Output] Out - activates when the block has finished its execution.

### Data Connections <a href="#data-connections" id="data-connections"></a>

* \[Input] Length (integer) - length of resulting string.
* \[Input] With A-Z (boolean) - set to True to include A-Z characters, False otherwise.
* \[Input] With a-z (boolean) - set to True to include a-z characters, False otherwise.
* \[Input] With 0-9 (boolean) - set to True to include 0-9 characters, False otherwise.
* \[Input] With special characters (boolean) - set to True to include special characters (such as !?#%), False otherwise.
* \[Output] Result (string) - result of the operation.
