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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of 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
  • 7 replies
  • 1740 views
  • 0 likes
  • 4 in conversation