searching for strings that include '_'

This forum is to discuss general things about X1.

Moderator: Mods

searching for strings that include '_'

Postby dfriedland » Tue Mar 22, 2011 11:44 am

This should be a pretty easy question, but I can't seem to find the answer anywhere...
I want to search my email for messages that contain the word starting with "COMM_". Just typing that string (including the double quotes) does not quite work -- it ignores the '_'. I thought using double quotes around a string would force X1 to treat any "special" characters such as '_' literally...
Posts: 7
Joined: Wed Oct 20, 2004 9:41 pm

Re: searching for strings that include '_'

Postby Kenward » Tue Mar 22, 2011 12:07 pm

"_" counts as punctuation.

X1 ignores it. Sees it as a space.

Look up punctuation in the Help file.

I usually finds that I can find stuff based on what is on either side of the punctuation.

It might be a good idea to go down the regex route one day. But that always baffles the heck out of me.
X1 Search 8.6.1 - Build 6003fa (64-bit)
Windows 10 Pro 64-bit | Windows 10 Home 32-bit
No, I have nothing to do with X1, just a user since 2004.
X1 Guru
X1 Guru
Posts: 4149
Joined: Tue Apr 20, 2004 2:35 am
Location: UK

Return to General Discussion

Who is online

Users browsing this forum: agrohimtme, Majestic-12 [Bot] and 37 guests