[S] Summary: Changing case of variable names

Marc R. Feldesman (feldesmanm@pdx.edu)
Tue, 15 Sep 1998 12:02:27 -0700


Yikes. This must be an all-time record for rapid responses. I've received
about 15 responses within the first 20 minutes after I posted my message.

For Version 4.x versions of SPlus the answer seems to be the function
casefold(), which elegantly and quickly does what I need. I received a
number of other creative solutions, but none that does it as directly.

casefold(names(dataframe), upper=T) for lc to uc conversion
casefold(names(dataframe), upper=F) for uc to lc conversion

Thanks for your help,

P.S. I guess it is time to get the fixed help fixes that solve the FTS
problem on Win95 machines :-).

Dr. Marc R. Feldesman
email: feldesmanm@pdx.edu
email: feldesman@ibm.net
pager: 503-870-2515
fax: 503-725-3905

"Don't know where I'm goin'
Don't like where I've been
There may be no exit
But, hell I'm goin' in" Jimmy Buffett

Powered by: Monstrochoerus - the 300 MHz Pentium II
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news