Re: upper-casing the first char & hashs of hashs

2001-07-16 Thread Paul
--- David Gilden <[EMAIL PROTECTED]> wrote: > The following uppercase'S the whole string, when all I want is the > first letter. > sub uppercase{ > ($s) = @_; return uc($s); # works but caps the whole string > } Others have already said to use ucfirst. =o) > lastly, in this hash of hashs.. >

RE: upper-casing the first char & hashs of hashs

2001-07-16 Thread Wagner-David
replace uc with ucfirst. Wags ;) -Original Message- From: David Gilden [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 10:28 To: [EMAIL PROTECTED] Subject: upper-casing the first char & hashs of hashs Hello, The following uppercase'S the whole string, when all I want i

RE: upper-casing the first char & hashs of hashs

2001-07-16 Thread Mooney Christophe-CMOONEY1
use ucfirst instead of uc -Original Message- From: David Gilden [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 12:28 PM To: [EMAIL PROTECTED] Subject: upper-casing the first char & hashs of hashs Hello, The following uppercase'S the whole string, when all I want is the first l