e*******e 发帖数: 75 | 1 Hi,
I have a numeric variable patientID as following:
PatientID
123
231
4567
7666668
900000001
567778991
45551
456
How can I convert the numeric variable to a character variable and make it
looks like as follows(all the blanks from the right side needs to be removed
)?
PatientID
123
231
4567
7666668
900000001
567778991
45551
456
Many thanks! | d******9 发帖数: 404 | 2 try do it this way:
NewID= put(PatientID, 20.);
I think a length of 20 is long enough for u. |
|