[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Perl String
- Subject: [ale] Perl String
- From: jsheets at yahoo.com (Jerald Sheets)
- Date: Sun, 21 Jan 2007 23:56:28 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
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