关于数组的问题
谁知道怎么输入一段话,然后将这段话放入数组中啊?输入的是英语~大家快帮忙回答下啊,急需
这是我的问题啊~
Option Explicit
Private Sub Command1_Click()
Dim arr() As String
Dim strLine As String
strLine = "this is my bbs"
Dim i As Integer
Dim strLength As Integer
strLength = Len(strLine)
ReDim arr(strLength) As String
For i = 1 To strLength
arr(i) = Mid(strLine, i, 1)
Next
For i = 1 To strLength
If arr(i) <> " " Then
Print arr(i);
End If
Next
End Sub
问个问题Option Explicit这个是什么意思啊`?