Date: Tue, 22 May 2001 14:35:57 +0100
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Kenny Boylan <kenny_boylan@STANDARDLIFE.COM>
Subject: Re: how to test lowcase and upcase
Using the Scan and Compress functions will do the trick.
length var1 var2 $ 20;
Gives you var1='THIS' var2='isatest'
firstname.lastname@example.org on 22/05/2001 14:16:51
Please respond to email@example.com
cc: (bcc: Kenny Boylan/STANDARD LIFE ASSURANCE COMPANY)
Subject: how to test lowcase and upcase
I have a variable with both lowcase and upcase characters, so I
would like to separate into two variables then lowcase and upcase texts.
See a example:
So, I would like to get:
How can I do that? I think I have to test if the sequence of
character is or not upcase (lowcase).
The Standard Life Assurance Company, Standard Life House, 30 Lothian Road,
Edinburgh EH1 2DH, is registered in Scotland (No. SZ4) and regulated by
the Personal Investment Authority. Tel: 0131 225 2552 - calls may be
recorded or monitored. This confidential e-mail is for the addressee only.
If received in error, do not retain/copy/disclose it without our consent
and please return it to us. We virus scan all e-mails but are not
responsible for any damage caused by a virus or alteration by a third
party after it is sent.