getRandomString

fun getRandomString(length: Int = 11): String

Generates a random string of alphanumeric characters.

Return

The randomly generated string.

Parameters

length

The length of the random string to generate. Default is 11.