Link to home
Start Free TrialLog in
Avatar of rainbowsoftware
rainbowsoftware

asked on

Delphi Programming question

How can I search for a word in a Paradox Memo or Formatted Memo?
ASKER CERTIFIED SOLUTION
Avatar of ronit051397
ronit051397

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rainbowsoftware
rainbowsoftware

ASKER

This is a good code, but maybe I should learn to write exactly what I want to do. I want to search for 2 or more different words in a memo and in case not sensitive.
1. to make the search in case not sensitive write:
   FindBuf:=StrPos(strupper(Buffer),strupper(strPCopy(A,FText)));
   instead of
   FindBuf:=StrPos(Buffer,strPCopy(A,FText));
2. to find 2 words or more expand this basic procedure for your       own needs, say run this procedure a number of times as the       number of words you need to find.