Summary

Functions

LEFT (source)
left-aligns source by moving any leading blanks to the end of the value. source can be any type of character expression, including a character variable, a character constant enclosed in quotation marks, or another character function. Because any blanks removed from the left are added to the right, the length of the result matches the length of source. For more information, see “LEFT Function” in SAS Functions and CALL Routines: Reference.
SCAN (source, n <,list-of-delimiters>)
selects the nth term from source. source can be any type of character expression, including a character variable, a character constant enclosed in quotation marks, or another character function. To choose the character that divides ...

Get Step-by-Step Programming with Base SAS 9.4 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.