將特殊字元轉換為一般字元。
| 類別: | DBCS |
length in1 out1 $30 ;
in1=unicode('\u2460\u2473\u277F\u325F');
out1=KPROPCHAR(in1);
put out1;
RESULTS:
(1)(20)(-10)(35)|
陳述式
|
結果
|
|---|---|
data _null_;
length in1 out1 $30 ;
in1=unicode('\u2460\u2473\u277F\u325F');
out1=KPROPCHAR(in1);
put out1;
run; |
(1)(20)(-10)(35) |
data _null_;
length in1 out1 $30 ;
in1=unicode('\u2776\u2793');
out1=KPROPCHAR(in1);
put out1;
run; |
(-1)(-10) |
data _null_;
length in1 out1 $30 ;
in1=unicode('\u3200\u32FE');
out1=KPROPCHAR(in1);
put out1;
run; |
![]() |