randomString

fun randomString(length: Int): String

Generate and return a random alpha-numeric String of an arbitrary length, or an empty String if the length parameter is equal to zero.

Throws

If the length parameter is less than zero.