public static int lastIndexOf(String orig,String string){
  return orig.lastIndexOf(string,orig.length());
}

public static int lastIndexOf ( String orig , String string ) { return orig . lastIndexOf ( string , orig . length ( ) ) ; }
searches in this string for the last index of the specified string . the search for the string starts at the end and moves towards the beginning of this string .
