On Mon, 12 Dec 2005, Jenny Chen wrote:

> Does anyone know how to convert a string in lower case
> to upper case in Perl?  Thanks.
 
Undoubtedly.

How did you try to do it ?

Did you try the s/// substitution feature ?
perldoc -f s 

Did you try the tr/// transliteration operator ? 
perldoc -f tr

Did you try the uc() uppercase command ? 
perldoc -f uc

uc() is probably the one you want, but the others offer more flexibility 
and can be preferable in certain contexts. 




-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to