public static int findLastOf(String container,String charSeq,int begin){
  for (int i=begin; i < container.length() && i >= 0; --i) {
    if (charSeq.contains("" + container.charAt(i)))     return i;
  }
  return -1;
}

public static int findLastOf ( String container , String charSeq , int begin ) { for ( int i = begin ; i < container . length ( ) && i >= 0 ; -- i ) { if ( charSeq . contains ( "" + container . charAt ( i ) ) ) return i ; } return - 1 ; }
find the last occurrence .
