core / pragma.utils / removeSuffixIgnoreCase /
removeSuffixIgnoreCase #
fun String.removeSuffixIgnoreCase(suffix: CharSequence): String
If this string ends with the given suffix (ignoring case), returns a copy of this string with the suffix removed. Otherwise, returns this string.