kotlin-stdlib / kotlin.text / intern intern JVM 1.0 fun String.intern(): String(source) Returns a canonical representation for this string object.