title: How to convert string to char in Kotlin?
body: <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>