Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for trimTrailingFrom (0.19 sec)

  1. guava/src/com/google/common/base/CharMatcher.java

       * the end of the string. For example:
       *
       * <pre>{@code
       * CharMatcher.anyOf("ab").trimTrailingFrom("abacatbab")
       * }</pre>
       *
       * ... returns {@code "abacat"}.
       */
      public String trimTrailingFrom(CharSequence sequence) {
        int len = sequence.length();
        for (int last = len - 1; last >= 0; last--) {
          if (!matches(sequence.charAt(last))) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
Back to top