[ale] Perl String

Jerry Yu jjj863 at gmail.com
Mon Jan 22 09:15:53 EST 2007


'man perlfunc'

On 1/22/07, Terry Bailey <terry at bitlinx.com> wrote:
>
>
> 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
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
-------------- next part --------------
An HTML attachment was scrubbed...




More information about the Ale mailing list