SAS OnlineTutorback||next

Try It! Extract a substring from a character value.

Creating HTML output? Read this first.

  1. Create a data set named Act.Newtal from Act.Talent. Add a new variable to Act.Newtal named Sex. Create Sex by extracting the abbreviation for sex from the variable ID.

    Sample ID values:
         452F
         107M
    
  2. Print the data set.

    Return here and select Next.

Solution

back||next


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

Terms of Use & Legal Information | Privacy Statement