title: How to "prepend" a Char to a String in Kotlin
body: <p>How in Kotlin can I prepend a <code>Char</code> to a <code>String</code>?</p>
  <p>e.g.</p>
  <pre><code>fun main(args: Array&lt;String&gt;) {
    val char = 'H'
    val string = &quot;ello World&quot;
    val appendingWorks = string + char //but not what I want...
    //val prependingFails = char + string //no .plus(str:String) version
    val prependingWorkaround1 = char.toString() + string
    val prependingWorkaround2 = &quot;&quot; + char + string
    val prependingWorkaround3 = String(charArray(char)) + string
  
  }
  </code></pre>
  <p>When trying to call <code>+</code> (e.g. <code>plus</code>) on Char, there is no version that accepts a String on the right, so therefore <code>'H' + &quot;ello World&quot;</code> doesn't compile</p>
  <p>The first workaround might be good enough but it's a regression for me from what works in Java: <code>String test = 'H' + &quot;ello World&quot;;</code> (compiles fine...)</p>
  <p>I also don't like the last workaround, at least in the <code>java.lang.String</code> I have a constructor that accepts a single char, or I can use <code>java.lang.Character.toString(char c)</code>. Is there an elegant way in Kotlin to do so?</p>
  <p>Was this discussed before (adding a <code>plus(str:String)</code> overload to the Char object?)</p>