V4MD escape apostrophe

Sean Wilson snw at paradise.net.nz
Mon Jun 20 10:08:31 CDT 2005


>But other member how do it if the searchString is variable?

If you are going to permit end users to choose/enter search strings, you 
have to pass them to Valentina.escapeString() before using them in a SELECT 
statement (you can't be sure they will properly escape "reserved" 
characters, like the apostrophe, or backslash - if you're using RegEx)

-Sean. 




More information about the Valentina mailing list