lastIndexOfOrNull

fun String.lastIndexOfOrNull(char: Char, startIndex: Int = lastIndex): Int?