@ Nonnegative public static int getOccurrenceCountIgnoreCase ( @ Nullable final String sText , final char cSearch , @ Nonnull final Locale aSortLocale ) { return sText != null ? getOccurrenceCount ( sText . toLowerCase ( aSortLocale ) , Character . toLowerCase ( cSearch ) ) : 0 ; }
Count the number of occurrences of cSearch within sText ignoring case .