car/src/main/java/androidx/car/widget/AlphaJumpBucketer.java
private static String preprocess(String s) {
        s = s.trim().toLowerCase();

        for (String word : PREFIX_WORDS) {
            if (s.startsWith(word + " ")) {
                s = s.substring(0, word.length() + 1).trim();
                break;
            }
        }

        return s;
    }
/**
     * "Preprocess" a string so that we remove some common prefixes and so on when performing the
     * bucketing.
     *
     * @param s The string to pre-process.
     * @return The input string with whitespace trimmed, and also words like "the", "a" and so on
     *    removed.
     */
"Preprocess" a string so that we remove some common prefixes and so on when performing the
bucketing.

@param s The string to pre-process.
@return The input string with whitespace trimmed, and also words like "the", "a" and so on
removed.
" Preprocess " a string so that we remove some common prefixes and so on when performing the bucketing . @param s The string to pre - process . @return The input string with whitespace trimmed and also words like " the " " a " and so on removed .
private static String preprocess(String s) {
        s = s.trim().toLowerCase();
        for (String word : PREFIX_WORDS) {
            if (s.startsWith(word + " ")) {
                s = s.substring(0, word.length() + 1).trim();
                break;
            }
        }
        return s;
    }
private static String preprocess ( String s ) { s = s . trim ( ) . toLowerCase ( ) ; for ( String word : PREFIX_WORDS ) { if ( s . startsWith ( word + " " ) ) { s = s . substring ( 0 , word . length ( ) + 1 ) . trim ( ) ; break ; } } return s ; }
"Preprocess" a string so that we remove some common prefixes and so on when performing the
 bucketing.
" Preprocess " a string so that we remove some common prefixes and so on when performing the bucketing .