function allowing player to find latest team name prefix