Common Character Functions for Creating Columns https://learn.sas.com/pluginfile.php/13144/mod_scormddl/content/9603...
Print
Common Character Functions for Creating Columns
SAS has many functions you can use to manipulate character columns. The arguments include one
or more character columns in your data. These are a few of the many character functions you can
use:
Character Function What it Does
UPCASE (char) Changes letters in a character string to uppercase or
LOWCASE(char) lowercase
PROPCASE (char, <delimiters>) Changes the first letter of each word to uppercase
and other letters to lowercase
CATS (char1, char2, ...) Concatenates character strings and removes leading
and trailing blanks from each argument
SUBSTR (char, position, <length>) Returns a substring from a character string
SAS® Programming 1: Essentials
Copyright © 2025 SAS Institute Inc., Cary, NC, USA. All rights reserved.
Close
1 of 1 6/11/2025, 9:29 PM