add test 'char=' when find character.