BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ybz12003
Rhodochrosite | Level 12

Hello:

 

Could someone let me know what the '!' stand for?  Thanks.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
SASKiwi
PROC Star

This statement says remove all alphabetic characters plus exclamation marks from the variable NAME. Refer to the documentation:

 

http://support.sas.com/documentation/cdl/en/lefunctionsref/69762/HTML/default/viewer.htm#n0fcshr0ir3...

 

The second parameter lists the characters to remove, the third parameter modifies the list of characters to remove. It would be stating the obvious that removing all alphabetic characters from NAME doesn't make much sense.

 

 

View solution in original post

2 REPLIES 2
SASKiwi
PROC Star

This statement says remove all alphabetic characters plus exclamation marks from the variable NAME. Refer to the documentation:

 

http://support.sas.com/documentation/cdl/en/lefunctionsref/69762/HTML/default/viewer.htm#n0fcshr0ir3...

 

The second parameter lists the characters to remove, the third parameter modifies the list of characters to remove. It would be stating the obvious that removing all alphabetic characters from NAME doesn't make much sense.

 

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1004 views
  • 1 like
  • 3 in conversation