substringOr

fun String.substringOr(fromIndex: Int, toIndex: Int, other: String): String