[AccessD] Search for string with wildcard characters

Jim DeMarco Jdemarco at hshhp.org
Mon Apr 14 10:24:45 CDT 2003


InStr will find test, tested, and taste.  I think he want's the location of the pattern.

Jim DeMarco


-----Original Message-----
From: Mike and Doris Manning [mailto:mikedorism at ntelos.net]
Sent: Monday, April 14, 2003 11:20 AM
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] Search for string with wildcard characters


How about InStr function?

Doris Manning
Database Administrator
Hargrove Inc.
www.hargroveinc.com


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of
rusty.hammond at cpiqpc.com
Sent: Monday, April 14, 2003 10:57 AM
To: accessd at databaseadvisors.com
Subject: [AccessD] Search for string with wildcard characters


Does anyone have any code that will search a string variable for a string
that includes wildcard characters and returns the location?

ie
strVariable="This is a test"
search strVariable for "te??" returns 11


Rusty

_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


***********************************************************************************
"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message.  Thank You".
***********************************************************************************



More information about the AccessD mailing list