core / pragma.utils / removePrefixIgnoreCase /

removePrefixIgnoreCase #

fun String.removePrefixIgnoreCase(prefix: CharSequence): String

If this string starts with the given prefix (ignoring case), returns a copy of this string with the prefix removed. Otherwise, returns this string.