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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1576 views
  • 0 likes
  • 3 in conversation