randomOrNull
@ExperimentalStdlibApi fun CharSequence.randomOrNull(): Char?Returns a random character from this char sequence, or null if this char sequence is empty.
@ExperimentalStdlibApi fun CharSequence.randomOrNull(
random: Random
): Char?Returns a random character from this char sequence using the specified source of randomness, or null if this char sequence is empty.