Date: Wed, 3 May 2006 13:11:05 -0400
Reply-To: Arthur Tabachneck <art297@NETSCAPE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arthur Tabachneck <art297@NETSCAPE.NET>
Subject: Re: Case Function
Actually, if you can identify a character that will not appear in any of
your text, e.g. a tilde, then something like the following WOULD work:
y=propcase(x,"~");
Art
-------
On Wed, 3 May 2006 13:00:04 -0400, Arthur Tabachneck <art297@NETSCAPE.NET>
wrote:
>Mesecca,
>
>Propcase (e.g., y=procase(x)) would give you:
>"Laboratory - General Classification In Detail"
>
>Art
>--------
>On Wed, 3 May 2006 11:48:40 -0400, mesecca L katram <mesecca@YAHOO.COM>
>wrote:
>
>>I have code description as
>>"LABORATORY - GENERAL CLASSIFICATION IN DETAIL"=x
>>Is there any function like "sentence case" with which I can convert
>>the sentence into
>>"Laboratory - general classification in detail"
>>I can first conver the string into lowcase first and then convert the
>first
>>letter of string into upcase using upcase function... but is there any
>>other function to covert the string into sentence case in one step.
|