Question:41SupposeyouneedtocreatethevariableFullNamebyconcatenatingthevaluesofFirstName,
whichcontainsfirstnames,andLastName,whichcontainslastnames.What'sthebestwaytoremoveextrablanksbetweenfirstnamesandlastnames?
1.datawork.maillist;
setretail.maillist;
lengthFullName$40;
fullname=trimfirstname||''||lastname;
run;
2.Get all Questions and Answer from here
3.You need to have paid subscription to access all questions
4.Thanks for considering Python Certification Material
CorrectAnswer:2
Exp:TheTRIMfunctionremovestrailingblanksfromcharactervalues.Inthiscase,extrablanksmustberemovedfromthevaluesofFirstName.Althoughanswercalsoworks
You can access to full explanation to question and answer from this page.