vb 如何将 字符串数组 转化为 字符串 15
展开全部
用join可以:
Private Sub Command1_Click()
Dim a() As String
a = Split(Text1, ",")
Text2 = Join(a, "")
End Sub
Private Sub Command1_Click()
Dim a() As String
a = Split(Text1, ",")
Text2 = Join(a, "")
End Sub
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
Dim a() As String
Dim i As Integer
Dim ss As String
Dim st As String
Private Sub Command1_Click()
st = ""
If i = 0 Then
ReDim a(1) As String
Else
ReDim a(UBound(a) + 1) As String
End If
a(UBound(a)) = InputBox("ff")
For q = 0 To UBound(a)
st = st & a(q)
Next
Print st
End Sub
【原数组为a(),st是合并后的】
Dim i As Integer
Dim ss As String
Dim st As String
Private Sub Command1_Click()
st = ""
If i = 0 Then
ReDim a(1) As String
Else
ReDim a(UBound(a) + 1) As String
End If
a(UBound(a)) = InputBox("ff")
For q = 0 To UBound(a)
st = st & a(q)
Next
Print st
End Sub
【原数组为a(),st是合并后的】
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
用循环吧。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询