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

Why do we use lowcase function twicw while using SAS

eg:lowcase(lowcase(trim("    gsbls")));

1 ACCEPTED SOLUTION

Accepted Solutions
Rnew
Fluorite | Level 6

Yes ,double usage of lowcase will not affect the result.However it may be a typo error if manually written.

 

View solution in original post

7 REPLIES 7
Reeza
Super User

I don't think the double usage would change anything here. A single usage will suffice. 

vinit_correia
Fluorite | Level 6

i saw an example,it was specifically written for only one string and all other strings in it were given only one...

eg:-

lowcase(lowcase(a));

lowcase(b);

lowcase(c);

Reeza
Super User

I'm not sure I understand your question. The double usage doesn't affect anything but doesn't accomplish anything. 

 

Is this code generated from SAS or user written?

vinit_correia
Fluorite | Level 6

its a user written code

even i feel that it should not affect the outcome of the program 

but in other cases lowcase is mentioned only once...as i have shown above.only this one pirticular case its given twice

 

Reeza
Super User

Again what's your question?

 

If it's user written code feel free to change it and use only one. 

LindaCole
Calcite | Level 5

You can get complete detail on Base SAS Certification questions

Rnew
Fluorite | Level 6

Yes ,double usage of lowcase will not affect the result.However it may be a typo error if manually written.

 

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
  • 7 replies
  • 1325 views
  • 0 likes
  • 4 in conversation