06-13-2017 10:18 AM
I have a column contains single letters and another number of repetition n.
I want to create a new column that will take value of letters multiply by n
input var1 $1 nbr;
var1 nbr nvar
a 3 aaa
b 5 bbbbb
c 2 cc
06-13-2017 12:06 PM
If you don't want to have a variable defaulting to 200 characters, OR you need the result to be longer than 200 you will want to have a LENGTH statement to assign a desired length to the result variable.
Need further help from the community? Please ask a new question.