[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Searching a String



Hi,
U can use the SQR built-in function "FIND" as follows:

Find 'A' in &name 0 #loc
  if #loc = -1
   Print 'Character 'a' not found'
  end-if

Hope this helps

>Date:         Wed, 16 Dec 1998 15:20:09 +1000
>Reply-To: SQR-USERS@USA.NET
>From: Lisa Crawford <Lisa_Crawford@PEOPLESOFT.COM>
>Subject:      Searching a String
>To: Multiple recipients of list SQR-USERS <SQR-USERS@list.iex.net>
>
>Hi,
>
>I was wondering if anyone could help me.  Is there any way to search
>through a string in SQR to find a particular character eg. "A"
>
>
>Thanks in advance
>Lisa
>


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com