LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 1999, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 16 Nov 1999 14:58:04 -0500
Reply-To:     Robert J Krajcik <robert.krajcik@BMS.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Robert J Krajcik <robert.krajcik@BMS.COM>
Organization: Bristol-Myers Squibb
Subject:      Re: Proper Case address for SAS mailing
Content-type: multipart/alternative;

Hello Alan,

Looks Like You Want Sentence Case.

Have You Tried Something Like: /* Assuming the first letter is already upper case... */ If length(word) gt 2 then substr(word,2) = lowcase(substr(word,2));

In other words, use "substr" as a pseduo-variable on the left, a function on the right, and let the length of "substr" default?

N.B. Limited testing.

Rob Krajcik

> I am trying to improve presentation > of customer addresses for a mailing. > > Currently: > > MR JOHN SMITH > FLAT 2 NELSON MANDELA HOUSE > LONDON > > I would like: > > Mr John Smith > Flat 2 Nelson Mandela House > London >


[text/html]


Back to: Top of message | Previous page | Main SAS-L page