vb中数组元素的提取问题

2024-11-15 21:46:31
推荐回答(2个)
回答1:

Dim s() As String
s = Split(Text1.Text, " ")
Text2.Text = s(0)
Text3.Text = s(1)
Text4.Text = s(2)

回答2:

dim a(3) as string
a=split(text1.text," ")
text2.text=a(1)
text3.text=a(2)
text4.text=a(3)