[ale] Perl String

Terry Bailey terry at bitlinx.com
Mon Jan 22 00:30:19 EST 2007


Thanks.  That was not in any of my books.

At 11:56 PM 1/21/2007, you wrote:
>You could use the ucfirst function to do that for you...
>
>
>$KeyWord = ucfirst($KeyWord);
>
>
>--j
>
>
>
>On Jan 21, 2007, at 11:50 PM, Terry Bailey wrote:
>
> > Hi,
> >
> > I am writing a Perl script and within the script I have an ASCII
> > variable,$hold, containing about 10 characters.  I would like to be
> > able to
> > pull out the first character, do a "logical and" with 95 and put it
> > back to
> > make sure that it is capitalized.  Can anyone help me on this?
> >
> > Thanks,
> >
> > Terry Bailey
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale




More information about the Ale mailing list