Can't tranwrd use variable as argument?
length tar rep $20. source out $100. ;
tar = 'abc';
rep = '12';
out = tranwrd(source, tar, rep);
Since TAR is length 10 you are looking for 'abc ' instead of 'abc'.
out = tranwrd(source,trim(tar),trim(rep));
View solution in original post
Thank you soooooooooo much!!!
Need further help from the community? Please
ask a new question.