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.
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.
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.