VBA函数left("Hello",2)的值为

admin2018-12-22  22

问题 VBA函数left("Hello",2)的值为

选项 A、He
B、el
C、lo
D、true

答案A

解析 本题考查的是字符串截取函数Left函数的用法。其格式为:Left(<字符串表达式>,),表示从字符串左边起截取N个字符。因此left("Hello",2)表示从字符串"Hello"左边起截取2个字符,返回值为"He"。
转载请注明原文地址:https://kaotiyun.com/show/bSMp777K
0

最新回复(0)