Hi You have some functions like LOCATE, INDEX, FIND ,... to find a substring in a string. Read a little bit in the manuals :)
On Wed, Jan 27, 2010 at 11:02 AM, master <[email protected]> wrote: > How do you find a variable string in a list of items? > > From what I know about FINDSTR, I have the explicitly give the string > to be searched > > for instance, FINDSTR "ABC" IN MY.LIST SETTING MYRESULT ELSE ... > > Now, assuming ABC is not defined and is a variable: > > myVar=CUSTOMER.NO > > MY.LIST= LIST.OF.CUSTOMERS > > How do I use the FINDSTR to search for the specific customer stored in > myVar at that instance? > > PS: The example is purely for illustration and may not make business > sense > > -- > Please read the posting guidelines at: > http://groups.google.com/group/jBASE/web/Posting%20Guidelines > > IMPORTANT: Type T24: at the start of the subject line for questions > specific to Globus/T24 > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > -- Igor Micev -- Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
