Quantcast
Channel: Statistics Help @ Talk Stats Forum - SAS
Viewing all articles
Browse latest Browse all 310

Padding leading values

$
0
0
Hi,
I have a table with value and position that looks like this
VALUE POSITION
1 4
2 6

What I basically need to do is create an extra columns that is comma separated and enters the above value in the corresponding position. The column should pad out the rest of the column with extra commas up to 30. So the column would like..

,,,1,,2,,,,,,,,,,,,,,,,,,,,,,,,,

Viewing all articles
Browse latest Browse all 310

Trending Articles