capital L

Lerebours, Jose Jose.Lerebours at EagleGL.com
Wed Feb 15 06:42:38 PST 2006


Ken posted:

> Quoting Lerebours, Jose (Wed, 15 Feb 2006 07:19:10 -0600):
> 
> > Jeff wrote:
> > >
> > > > Using windows and filepro 5.0
> > > >
> > > > How do I identify the occurrence of a capital L
> > > >
> > > > ie = instr(ua, "L","1")   identifies any l not just
> > > > capital L
> > > >
> > > > Thanks in advance>
> > >
> > > Check out the COMPARE command.
> >
> > To use the compare() function, you will need to use
> > a loop to check each character within the string.
> >
> > Here is a simple routine that will do just that:
> [...]
> 
> Or, you can combine the two.  Use instr() to find L's (capital and
> lowercase) and then COMPARE to see if the character is a capital L.
> That should be much more efficient than checking every character.
> 

I know but, I figure that baby steps is a better way to have one
understand things like this.  I figure that if I posted code that
required too much looking into to understand what it does, it would
defeat the purpose.  I normally expect the other person to take it
to the next level and I then assist if that is the case.

Given the nature of the question, I though it was a good idea to keep 
it simple every step of the way.

Regards;


Jose Lerebours


More information about the Filepro-list mailing list