RegEx is definitely the best way to do it.

TRegExpr library
     Regular Expressions for Delphi

     Author:
     Andrey V. Sorokin
     St-Petersburg
     Russia
     [EMAIL PROTECTED], [EMAIL PROTECTED]
     http://anso.da.ru
     http://anso.virtualave.net




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Allan, Samuel
Sent: Tuesday, 1 July 2003 4:40 p.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Wildcard match of strings


Does anyone know how to match two strings with wildcards?

eg '*Roger*' = 'I am Roger'
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to