add a member function to escape string
update