单选题
VB
2008-03-19
以下能从字符串"VisualBasic"中直接取出子字符串"Basic"的函数是( )。
A.Left
B.Mid
C.String
D.Instr
参考答案
B
答案解析
通过字符串函数Mid即可以实现字符串“Basic”的提取,提取过程如下:c=“VisualBasic”:print Mid(c,7,5)。
你可能感兴趣的试题
A.Print A=x+y
B.Print"A=";x+y
C.Print "A="+Str(x+y)
D.Print"A="&x+y