Date: Fri, 8 Apr 2005 15:40:57 -0500
Reply-To: Annapurna Ravi <stdaxr25@SHSU.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Annapurna Ravi <stdaxr25@SHSU.EDU>
Subject: Re: Converting case..
In-Reply-To: <6F77AA8A6B0BAB43B9CA0CB8BAD9001B012FF000@njb-mail.bnj.2k.medarex.com>
Content-Type: text/plain;charset=iso-8859-1
Hi,
You might want to try the following code:
DATA CASE;
INPUT ID $25.;
IDN=PROPCASE(ID);
DATALINES;
THIS IS A TEST
;
RUN;
PROC PRINT DATA=CASE;
RUN;
BYE
ANNA
> Hi:
>
> I am trying to convert a variable (a string in uppercase) to
> title case (like so: This Is A Test) and was wondering if any of you
> could help me..
>
>
>
> Thanks and regards
>
>
>
> Kumar Sridhar
>
>
>
---------------------------------------------------------------------------
The first and most important step towards success is the feeling that we
can succeed.
Ms.Annapurna Ravi
Graduate Teaching Assistant
Sam Houston State University
Department of Mathematics and Statistics
Huntsville, TX 77341-2206
(936) 294-3518
stdaxr25@shsu.edu