题型:单选题 题类:常考题 难易度:普通
浙江省温州市六校协作体2018届高三上学期信息技术期末联考试卷
Function delStr(S As String,m As Integer)As String
Dim n As Integer:n=Len(S)
If m<1 Or m>n Then delStr=“输入位置有误!”
If m=1 Then delStr=Mid(s,2,n-1)
If m<n Then delStr=Mid(s,1,m-1)+Mid(s,m+1,n-m)
If m=n Then delStr=Mid(s,1,n-1)
End Function
Private Sub Command1_Click()
Dim S As String:Dim i As Integer
S=Text1.Text
For i=1 To 10 Step 2
S=delStr(S,i)
Next i
Text2.Text=S
End Sub
文本框Text1中输入Happybirthday,执行该程序段,文本框Text2中显示的是( )
试题篮