Tuesday, 23 November 2010

String to Numeric in SPSS

STRING m1 (A10).

execute.

compute m1 = substr(query_co,1,1).

execute.

list m1.

No comments: