Advanced Search

RD_Man

Member
Sorry for the general forum question but, it will help me find topics much better.

How can I search for a phrase like 'file exists'?

I only seem to get results for file and/or exists. I specifically want only 'file exists'

Is This possible?

Mike
 
What are you trying to do?

From your description, you could be searching for the phrase "File Exists" in source code or you could be searching for it in fields/variables.

If you are searching for text in source code then you could use grep or findstr depending on your operating system.

For Unix:
Code:
 grep -i "file exists" *
For Windows/DOS:
Code:
 findstr /i /s "file exists" *.*

If you are searching for the phrase in a variable/field then you could use MATCHES or INDEX:

Code:
IF vVariable MATCHES "*File Exists*" THEN 
  MESSAGE "Found it!" VIEW-AS ALERT-BOX.

Code:
IF INDEX (vVariable,"File Exists") > 0  THEN 
  MESSAGE "Found it!" VIEW-AS ALERT-BOX.
 
I want to know how to search for an exact phrase here in the forum. I just used the "File Exists" as an example.

I started searching the forum but I find posts with JUST file or JUST exists but i can NOT figure out how to search for exactly "file exists" here on the forum.

Over a lifetime it would simply help me, and others, get to the valuable posts much quicker!

P.S. Thanks rainylsh, for the indirect answer. It works perfect.
 
Back
Top