May be you want it as simple as ``` fun String.ap...
# announcements
o
May be you want it as simple as
Copy code
fun String.applyComparableArrayFunction(transformation: (Array<Char>) -> Array<Char>): String {

    val toTypedArray = this.toCharArray().toTypedArray()

    return transformation(toTypedArray).joinToString(separator = "")
}
?