Modifying Character Values with Functions

Introduction to Modifying Character Values

This section teaches you how to use SAS functions to manipulate the values of character variables. After completing this section, you will be able to
  • replace the contents of a character value
  • trim trailing blanks from a character value
  • search a character value and extract a portion of the value
  • convert a character value to uppercase or lowercase.
To begin, let's look at some of the modifications that need to be made to the character variables in Hrd.Temp. These modifications include
  • separating the values of one variable into multiple variables
  • replacing a portion of a character variable's values
  • searching for a specific ...

Get SAS Certification Prep Guide: Base Programming for SAS 9, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.