title: Get function by name dynamically in Kotlin
body: <p>How can I dynamically get a function by name in Kotlin ?</p>
  
  <p>i.e:</p>
  
  <pre><code>fun myFunc11() { println("Very useful function 11") }
  
  val funcName = "myFunc" + 11
  val funcRef = getFunction(funcName)
  
  funcRef()
  </code></pre>
  
  <hr>
  
  <p><strong>Edit:</strong> The accepted answer appears to be correct, however the code is currently hitting some bug in Kotlin. Bug report submitted: <a href="https://youtrack.jetbrains.com/issue/KT-10690" rel="noreferrer">https://youtrack.jetbrains.com/issue/KT-10690</a></p>