You are viewing documentation for version 0.6.0. View latest version

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.