isSurrounded

fun String.isSurrounded(prefix: String, suffix: String = prefix): Boolean(source)