How to convert string to char in Kotlin? : <pre><code>fun main(args: Array&lt;String&gt;) {
    val StringCharacter = "A"
    val CharCharacter = StringCharacter.toChar()
    println(CharCharacter)
}
</code></pre>

<p>I am unable to convert string A to char.
I know that StringCharacter = 'A' makes it char but I need the conversion.</p>

<p>Thanks.</p>
