Re: [DUG]: Wildcard match of strings

2003-07-01 Thread Tracey Maule
],[EMAIL PROTECTED] might help... - Original Message - From: Allan, Samuel [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 4:39 PM Subject: [DUG]: Wildcard match of strings Does anyone know how to match two strings with wildcards? eg

RE: [DUG]: Wildcard match of strings

2003-07-01 Thread David at McNeill Computers
: [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

RE: [DUG]: Wildcard match of strings

2003-07-01 Thread David Brennan
July 2003 5:26 PM To: Multiple recipients of list delphi Subject: RE: [DUG]: Wildcard match of strings Use the TMask object. Here is a function I use. function Matches(const S,Wildcard: String): Boolean; var Mask: TMask; begin Mask := TMask.Create(Wildcard); Result := Mask.Matches(S

[DUG]: Wildcard match of strings

2003-06-30 Thread Allan, Samuel
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

RE: [DUG]: Wildcard match of strings

2003-06-30 Thread Chris Veale
probably not the best option, but you could use pos and check the result HTH Chris -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

RE: [DUG]: Wildcard match of strings

2003-06-30 Thread Witherden, Stephen
: [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

RE: [DUG]: Wildcard match of strings

2003-06-30 Thread Ross Levis
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allan, Samuel Sent: Tuesday, 1 July 2003 16:40 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

RE: RE: [DUG]: Wildcard match of strings

2003-06-30 Thread Allan, Samuel
Thanks very much guys. Problem solved. -Original Message- From: Ross Levis [mailto:[EMAIL PROTECTED] Sent: Tuesday, 1 July 2003 5:26 p.m. To: Multiple recipients of list delphi Subject: RE: [DUG]: Wildcard match of strings Use the TMask object. Here is a function I use. function

Re: [DUG]: Wildcard match of strings

2003-06-30 Thread Stefan Mueller
PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 5:26 PM Subject: RE: [DUG]: Wildcard match of strings Use the TMask object. Here is a function I use. function Matches(const S,Wildcard: String): Boolean; var Mask: TMask; begin Mask := TMask.Create