question: public static String removeChars ( String src , String chars ) { int i = src . length ( ) ; StringBuilder sb = new StringBuilder ( i ) ; for ( int j = 0 ; j < i ; j ++ ) { char c = src . charAt ( j ) ; if ( chars . indexOf ( c ) == - 1 ) { sb . append ( c ) ; } } return sb . toString ( ) ; }
target:  Removes all characters contained in provided string.