Page 1 of 1
When do escape for , in the search term?
Posted: Thu Nov 11, 2004 6:53 pm
by Zeus
I have the data as follows,
(jerry,scott,
new-test@sf.gov.juryduty,
sofia@casecentral.org)
I want to search for FIELD1 literally like jerry,scott
i.e. jerry followed by comma and the word scott.
When do escape for , in the search term?
Posted: Thu Nov 11, 2004 7:22 pm
by mark
Use \,
(jerry\,scott,
new-test@sf.gov.juryduty,
sofia@casecentral.org)
And don't put any spaces around your commas.
When do escape for , in the search term?
Posted: Thu Nov 11, 2004 7:59 pm
by Zeus
Thanks.
More specifically,
when and how do I escape non alphanumeric characters in the search term.
For example,
search for '(jerry,scott)' (literally as a phrase).
search for 'jerry,scott' (literally as a phrase).
search for '(jerry,scott,new-test' (literally as a phrase).
search for 'jerry,scott,
new-test@sf.gov.juryduty' (literally as a phrase).
etc..
thanks!!
When do escape for , in the search term?
Posted: Fri Nov 12, 2004 10:46 am
by mark
When do escape for , in the search term?
Posted: Fri Nov 12, 2004 3:22 pm
by Zeus
Thanks, that helped!
But, still the following kind of searches, I could not run properly,
search for "#1,
zeus@scooby.com"
that is a literal search.
I tried,
FIELD1 like "\#1,
zeus@scooby.com"
but, I get hits that have just
zeus@scooby.com along with the correct hits.(looks like doing an OR search)
same is the situation with,
FIELD1 like "\@50.25,
start@yahoo.net"
thanks!!
When do escape for , in the search term?
Posted: Fri Nov 12, 2004 5:56 pm
by mark
I'm not sure why off the top of my head, but that needs to be "\#1\,
zeus@scooby.com" and "\@50.25\,
start@yahoo.net" . Probably something about the special char on front.