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

Which one of these is correct?

 

Macro character functions:

a).Can be used to manipulate character strings in macro variable values.

b).Have the same basic syntax as the corresponding DATA step functions and yield similar results.

c).All of the above

d).None of the above

1 ACCEPTED SOLUTION

Accepted Solutions
Astounding
PROC Star

C

 

Do you know any of the macro character functions?  %UPCASE similar to UPCASE.  %SUBSTR similar to SUBSTR.

View solution in original post

2 REPLIES 2
Astounding
PROC Star

C

 

Do you know any of the macro character functions?  %UPCASE similar to UPCASE.  %SUBSTR similar to SUBSTR.

Kurt_Bremser
Super User

Study the documentation of the macro character functions and data step character functions, so you find the corresponding ones.

Then compare the macro functions with the data step functions, and you'll find the answer yourselves. If the answer you find is different from the answer given in the quiz, and you can't find out why, come back here and ask for the reason.

Doing things like that (studying documentation) is fun for me; if it's not for you, you should seriously consider work in another field far removed from programming and SAS (basically, computing as such)

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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