charArrayOf

fun charArrayOf(range: CharRange): CharArray

Return a char Array from char range.

Example:

charArrayOf('a'..'f') // ['a', 'b', 'c', 'd', 'e', 'f']

Since

1.1.0

See also

CharArray
CharRange

fun charArrayOf(progression: CharProgression): CharArray

Return a char Array from char progression.

Example:

charArrayOf('a'..'f' step 2) // ['a', 'c', 'e']

Since

1.1.0

See also

CharArray
CharProgression