> For the complete documentation index, see [llms.txt](https://200ok.gitbook.io/200ok-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://200ok.gitbook.io/200ok-documents/user-manual/built-in-functions/text/generaterandomstring.md).

# generateRandomString

generateRandomString() function is the Standard function available in 200OK.

The fx\_generateRandom function generates a random decimal number within the specified range, defined by the parameters x and y.

**Syntax** : { "generateRandom": "fx\_generateRandom(1,99)"}

Example : fx\_generateRandom(1, 10) would yield a random number "6" which is the random number between 1 to 10.

**Request Side** : &#x20;

<figure><img src="https://lh7-us.googleusercontent.com/cshwzQmJDbf0pMPtsbZ-YyspgOZrX1E5BJP6rbQkq70AM4kpCxVUbilpYgJXN96zrVFrTZflrJboJdALn2kJ1Dxwnj2PoEpAjjwzF7S6--a9OjN5b8aRKeC32vrrzXj_EsjcdTGyfVL4e7cJRd3OVng" alt=""><figcaption></figcaption></figure>

**Response Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/Y9Ydonwl2B2JzRDyHEUjQSml7-MDQAENRrsEBFvkTIFRDvHtM_oDE5Xz75h7iUEodGdJAGCmSMWRq6liCWh_1W9ezkHnPiW9F3wOGvCVH0nps6mAUKAULjkKZkmS_gCJm47CbmDSjjsJ5tjzJdniXJ8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/nt1WRg8jLbwDNrUIuvwpQiZ60UY-Ex2SV0pAIXjkWOYRFLAxAnNlNYL8D9pRvjYfuePjnv9MsWP6LYVm8PnJC8C1mdzBMs9BmXfTjXRim_f-D2sgtctD8nYxLZbhBc3yCdwz3ZOK_wiKx1Z3xqT3EaI" alt=""><figcaption></figcaption></figure>
