Why do we use lowcase function twicw while using SAS
eg:lowcase(lowcase(trim(" gsbls")));
Yes ,double usage of lowcase will not affect the result.However it may be a typo error if manually written.
I don't think the double usage would change anything here. A single usage will suffice.
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);
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?
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
Again what's your question?
If it's user written code feel free to change it and use only one.
You can get complete detail on Base SAS Certification questions
Yes ,double usage of lowcase will not affect the result.However it may be a typo error if manually written.
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!
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.
Ready to level-up your skills? Choose your own adventure.