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.