> 其他 >
vfp中len函数的问题
为什么执行
len(str(year(date()))+space(1))
结果是 11呢?
谁可以给我一个详细一点的答案?
人气:446 ℃ 时间:2020-05-05 06:49:39
解答
肯定是有空格.而且是在后面.“2006-01-01”这样刚好是十位.str(year(date()))是十位.如果alltrim(len(year(date()))就是4.
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版