BookmarkSubscribeRSS Feed
BrahmanandaRao
Lapis Lazuli | Level 10

HI Experts Good Morning

 

 I did not find scan function examples with modifiers 

 

like a ,b c, d ,e f g h i j k l m n o p q r s t u v w x y z

 

what is charlist in the scan syntax

 

3 REPLIES 3
PeterClemmensen
Tourmaline | Level 20

Check out Example 4 and 5 in the Scan Function Documentation

 

Also, a nice exercise is to simply take some example from the documentation, add a modifier and check the results.

BrahmanandaRao
Lapis Lazuli | Level 10

ok 

atleast give an example d and L Modifiers 

i confused what is charlist option in scan function syntax

andreas_lds
Jade | Level 19

@BrahmanandaRao wrote:

ok 

atleast give an example d and L Modifiers 

i confused what is charlist option in scan function syntax


There is hardly any difference, except for the characters being added, between "D" (or "L") and "A", for example, so please explain what you don't understand.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1152 views
  • 0 likes
  • 3 in conversation