b********g 发帖数: 1 | 1 At least 50% in base 50 and 123. Many thanks to this board.
Something new or unsure:
1
x='372';
y='234 ';
z='657';
how to get 372-234-657
a. cat('-',x,y,z)
b. catx('-',x,y,z)
c. x!!'-'!!y!!'-'!!z
d.x!!'-'!!left(y)!!'-'!!z
2 _'char'% function
data test;
input name $;
datalines;
Liu
Ellisa
Risa
Loui
;
run;
data test2;
set test;
name2=(_'i'%);
run;
what is the value(s) of name2?
3 where is format saved if not saved permanently?
4. FOUND function;
5 function (trch? not remembered) to cha | s*******2 发帖数: 791 | 2 Who can give answers to above questions?
Thanks.
【在 b********g 的大作中提到】 : At least 50% in base 50 and 123. Many thanks to this board. : Something new or unsure: : 1 : x='372'; : y='234 '; : z='657'; : how to get 372-234-657 : a. cat('-',x,y,z) : b. catx('-',x,y,z) : c. x!!'-'!!y!!'-'!!z
| s*******2 发帖数: 791 | 3 1. b. catx('-',x,y,z)
7. Obs x y z
1 1 a 2
2 1 b 4
3 2 a 3
4 2 b 5
5 3 a 4
6 4 a 6
7 4 b 7
【在 s*******2 的大作中提到】 : Who can give answers to above questions? : Thanks.
| C******t 发帖数: 72 | 4 5. The question looks like below:
data one;
x='abcdefghij';
y=transwrd(x,'cd','ccdd');
run;
What is the length of y?
a. 10;
b. 12;
c. 200;
d. unable to decide.
another question absentin base 50 and 123 is about the option of crosslist
in proc freq. |
|