“删除字符”程序实现功能:在文本框Text1中输入待处理的字符串,在文本框Text2中输入需删除的单个字符,单击“删除”按钮Command1进行删除,并将删除后的字符串和被删除字符的位置分别显示在相应的文本框中。程序运行界面如下图所示。

(1)要使程序运行时,按钮Command1显示为“删除”,可在Form_Load事件处理过程中添加语句_____(单选,填字母:
A.Command1.Caption=“删除”/ | B.Command1. font=“删除”/ | C.Command1.Text=“删除”)。 |
(2)实现上述功能的VB程序如下,请在划线处填入合适的代码。
Private Sub Command1_Click()
Dim c As String, s As String, j As String
Dim n As Integer, i As Integer
Dim w As String, result As String
s = Text1. Text: d = Text2. Text
n = Len(s): w= “ ”: result = “ ”
For i = 1 To n
____________

w = w + Str(i) + “,”
Else
_____________
End If
Next i
Text3. Text = result
Text4. Text = w
End Sub
(3)若将加框处语句“if c=d Then”修改为“if c<>d Then”,文本框Text1和Text2中输入如图所示,则执行程序后文本框Text3中输出的内容是___________。