傳回字串長度。
類別: | DBCS |
類型: | NLS 巨集函數 |
%let a=Happy; %let b=Birthday; %put The length of &a is %klength(&a).; %put The length of &b is %klength(&b).; %put The length of &a &b To You is %klength(&a &b to you).;
The length of Happy is 5. The length of Birthday is 8. The length of Happy Birthday To You is 21.