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 (April 2007, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 26 Apr 2007 13:44:15 -0400
Reply-To:     Rathindronath <mehedisas@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Rathindronath <mehedisas@YAHOO.COM>
Subject:      A FORMATTING PROBLEM

Already asked a few questions and learned a lot from you all. I have one last question. I have the following character variable: subject. Need to put two addition "00" infrom of last two digit or after the last "-".

I have the following dataset:

xyzc_0201_0101_01 xyzc_0201_0101_01 xyzc_0201_0101_02 xyzc_0201_0101_11

Desired result should be as below:

subject xyzc_0201_0101_0001 xyzc_0201_0101_0001 xyzc_0201_0101_0002 xyzc_0201_0101_0011

Thanks a lot.


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