文字列の長さを返します。
カテゴリ: | 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.