EacapeString and Like search

Erne ernestogiannotta at tiscalinet.it
Sun May 28 20:43:10 CDT 2006


Hello Ruslan,

making some test I want to find this text:

   a'\s

so I pass it to Valentina.EscapeString and I get:

   a\'\\s

seems correct to me but if I search

   Like '%a\'\\s%'

I get no match (seems wrong to me)

so I input

   a'\\s

and pass it to Valentina.EscapeString and get:

   a\'\\\\s

again it's correct to me but when I do search:

   Like '%a\'\\\\s%'

I get match with a'\s (and again it seems wrong to me, I should get  
no match here)

what do you think?



Cool Runnings,
Erne.

/ |\ |\  | /
– |/ | \ | –
\ |\ |  \| \



More information about the Valentina mailing list