SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Search||next

Transforming Data with SAS Functions
Modifying Character Values with Functions
 


Question: Which of the following SCAN functions can return the product name from the variable SiteProduct? A sample value of SiteProduct appears below. The product name in this value is Fixture Base.
 


S45/34.78/NW/Fixture Base

scan(siteproduct,4)
scan(siteproduct,4,'/')
scan(siteproduct,4,'/. ')
scan(siteproduct,5)


  ||next

 

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

Terms of Use & Legal Information | Privacy Statement