Scope Function with Lambda Receiver (Run)

Run Settings
LanguageKotlin
Language Version
Run Command
fun main(args : Array<String>){ val text = "Hello" val result = text.run { val from = this val to = this.replace("Hello", "Kotlin") "replace text from $from to $to" } println("result : $result") }
Editor Settings
Theme
Key bindings
Full width
Lines