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 (June 2000, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 13 Jun 2000 12:21:21 -0700
Reply-To:     "Ruben J. Kovalcik" <rjk2@CET.NAU.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Ruben J. Kovalcik" <rjk2@CET.NAU.EDU>
Organization: Northern Arizona University
Subject:      substr
Content-Type: text/plain; charset=us-ascii

Hi, can i make a variable called start_hour by using the substr function on a time (time5) variable?

the time variable is called sas_beg1(8:00 ,12:00)

ex. start_hour1=substr(sas_beg1,1,2)

and i would like it to return either 08 or 8 and 12 for the start_hour variable value. thank you for substr help. Ruben


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