Subject: Re: Capitalizing content of a variable
From: Goetz Bock <bock@xxxxxxxxxxx>
Date: Wed, 8 Aug 2001 16:19:44 +0200
|
> > I want to capitalize the content of a string variable. For
> > instance I have a variable foo with value abcdef, now I want
> > to have another variable newfoo with the value Abcdef.
> translate($x, 'abcdef...', "ABCDEF...")
The original poster just wanted to capitalize the first letter, so (s)he
hast to use substring to get the right char ...
--
Goetz Bock IT Consultant
Dipl.-Inf. Univ.
Attachment:
pgp00008.pgp
Description: PGP signature
|