Scanning for ASCII characters

Pat Shugart ShugartP@trinity-health.org
Fri, 21 Jul 2000 09:34:15 -0400


You can get even more compact....

select if 0 <> index('largestring', 'ABC')

HTH,

 ,ø¤º°`°º¤ø,  ,ø¤º°`°º¤ø,  ,ø¤º°`°º¤ø,  ,ø¤º°`°º¤ø,  ,ø¤º°`°º¤ø,  ,ø¤º°`°º¤ø, 

Pat Shugart
Trinity Information Services
Farmington Hills, MI 48331
248.489.6123
248.489.6009 (fax)
shugartp@trinity-health.org

>>> "Heasman,David" <David.Heasman@seacontainers.com> 07/21/00 09:31AM >>>

 Forgive the terseness ...



 define A num*2 = index(largestring,"ABC")

 select if 0 <> A

> -----Original Message-----
> From:	AMNoack@herc.com [SMTP:AMNoack@herc.com] 
> Sent:	Friday, July 21, 2000 2:19 PM
> To:	POWERH-L@sphere.swau.edu 
> Subject:	Scanning for ASCII characters
> 
> Hello fellow list(en)ers,
> 
> once I had a small piece of Quiz code that could chose a record if a
> certain field contained a certain string, like  "ABC" in "lnmABCmk". Now
> you may guess: I do not find it back. Someone still got it? Ah, yes and if
> its RTFM, do not flame me please, no manuals here at that time.
> 
> THX a lot & kind regards
> Andreas Noack
> BetzDearborn GmbH
> A division of Hercules
> Development Group Europe
> 
> 
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> =
> Subscribe: "subscribe powerh-l" in message body to
> majordomo@lists.swau.edu 
> Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu 
> This list is closed, thus to post to the list, you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu 
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu 
This list is closed, thus to post to the list, you must be a subscriber.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.