buildString

inline fun buildString(builderAction: StringBuilder.() -> Unit): String(source)

Builds new string by populating newly created StringBuilder using provided builderAction and then converting it to String.

Since Kotlin

1.0