change variable ansistring to string