该命令用于显示字符串值的长度。
str.length
None
字符串的长度。
/* 主程序 */ value ='null' say value.length
当我们运行上面的程序时,我们将得到以下结果。
4
❮ rexx_netrexx.html