Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
random
Returns a random character from this char sequence.
Exceptions
NoSuchElementException
- if this char sequence is empty.
Returns a random character from this char sequence using the specified source of randomness.
Exceptions
NoSuchElementException
- if this char sequence is empty.