Question48:ThefollowingSASprogramissubmitted:

dataone;

address1=`214LondonWay';

run;

dataone;

setone;

address=tranwrd(address1,`Way',`Drive');

run;

WhatarethelengthandvalueofthevariableADDRESS?

1.Lengthis14;valueis`214LondonDri'.

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:4

Exp:Syntax

TRANWRD(source,target,replacement)

Arguments

source:specifiesacharacterconstant,variable,orexpressionthatyouwanttotranslate.

target:specifiesacharacterconstant,variable,orexpressionthatissearchedforinsource.

Requirement:Thelengthfortargetmustbegreaterthanzero.

replacement:specifiesacharacterconstant,variable,orexpressionthatreplacestarget.Whenthereplacementstringhasalengthofzero,TRANWRDusesasingleblankinstead.

You can access to full explanation to question and answer from this page.