by chris lindsey (1 Submission)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 25th January 2002
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
This function will take a comma-delimited input string of any length and return an array of parsed substrings. You can control the number of
'This function will take a string of data that is comma-delimited and return it parsed
'in an array. The input string can have up to 15 comma-delimited parameters
'
'Created by Chris Lindsey 1/25/02
Dlength = Len(Data)
Dim Extract(15)
Position = 1
For i = 1 To Dlength
character = Mid(Data, i, 1)
If Asc(character) <> 44 Then
Extract(Position) = Extract(Position) & character
Else
Extract(Position) = RTrim(Extract(Position))
Position = Position + 1
End If
Next i
ParseLine = Extract
End Function
No comments have been posted about This function will take a comma-delimited input string of any length and return an array of parsed . Why not be the first to post a comment about This function will take a comma-delimited input string of any length and return an array of parsed .