SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Search||next

Transforming Data with SAS Functions
Modifying Character Values with Functions
 


Question: Which of the following SUBSTR functions returns the fourth, fifth, and sixth characters from the values of the variable TestSite?

substr(testsite,4,6)
substr(4,testsite,3)
substr(testsite,4,3)
substr(testsite,3,4)



  ||next

Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement