A$ = mysql::EscapeString(dbh,string)
Encodes the string to an escaped SQL string, taking into account the current charset of the connection, that can be sent to the server in a SQL statement, places the result in to, and adds a terminating null byte. Characters encoded are NUL (ASCII 0), \n, \r, \, ', ", and Control-Z.