VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Convert an array into a delimited string

by http://www.coderhq.com (4 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 5th January 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Convert an array into a delimited string

Rate Convert an array into a delimited string



' http://www.coderhq.com
'
' Paste the code below into 
' the declarations of a form

Private Sub Form_Load()
    Dim tmp_String
    Dim tmp_Array

    tmp_Array = Split("Value1 Value2 Value3 Value4 Value5", " ")

    tmp_String = Join(tmp_Array, ",")
    
    MsgBox tmp_String

End Sub

Download this snippet    Add to My Saved Code

Convert an array into a delimited string Comments

No comments have been posted about Convert an array into a delimited string. Why not be the first to post a comment about Convert an array into a delimited string.

Post your comment

Subject:
Message:
0/1000 characters