Is there a good escape function or do I have to make one? The mysql escape function, I don't think escapes Char().