[ale] Perl String

Jerald Sheets jsheets at yahoo.com
Sun Jan 21 23:56:28 EST 2007


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




More information about the Ale mailing list