Returns a string containing all matching characters of a character sequence, in order. For example: CharMatcher.is('a').retainFrom("bazaar") ... returns "aaa".
(CharSequence sequence)
| 815 | |
| 816 | |
| 817 | public String retainFrom(CharSequence sequence) { |
| 818 | return negate().removeFrom(sequence); |
| 819 | } |
| 820 | |
| 821 | /** |
| 822 | * Returns a string copy of the input character sequence, with each character that matches this |
no test coverage detected