Acceptance Of String In Finite Automata