Date: Wed, 16 Sep 1998 15:07:26 -0400
Reply-To: "Patton, Nancy (CAP, RFS)" <Nancy.Patton@GECAPITAL.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "Patton, Nancy (CAP, RFS)" <Nancy.Patton@GECAPITAL.COM>
Subject: Re: Urgent Capitals
try the upcase function :
1
2 options ls = 72 ;
3 DATA;
4 variable = 'aaaaa';
5 TEST = UPCASE (VARIABLE) ;
6 TEST1 = LOWCASE (TEST ) ;
7
NOTE: The data set WORK.DATA1 has 1 observations and 3 variables.
NOTE: The DATA statement used 0.02 CPU seconds and 3303K.
8 PROC PRINT;
The SAS System 1
15:00 Wednesday, September 16, 1998
OBS VARIABLE TEST TEST1
1 aaaaa AAAAA aaaaa
-------------------------------------------------
* Nancy Patton
* (703)553-0737
* NKP@asg-inc.com
* Nancy.Patton@GECapital.com
> ----------
> From: Josi Ailton Alencar andrade[SMTP:andrade@INEP.GOV.BR]
> Reply To: Josi Ailton Alencar andrade
> Sent: Wednesday, September 16, 1998 2:56 PM
> To: SAS-L@UGA.CC.UGA.EDU
> Subject: Urgent Capitals
>
> Hello all,
>
> I need to transforme the a character field in capital letters. How
> do I do that?
>
> Thank!
>
|