VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Parse Delimited Text

Brant Gluth  (1 Submission)   String Manipulation   Visual Basic 3.0   Beginner   Wed 3rd February 2021

The code will take a passed string and a delimiter and parse the string into a variant array for reading. Works very well with csv files, etc.

Inputs
strSource = line ofn text from a text file (ex:/ "00-40-4200",20000216,0.00,15.00)

Returns
spits it back at you as a variant array which can be iterated with a for..next loop

Rate Parse Delimited Text (3(3 Vote))
Parse Delimited Text.bas

Parse Delimited Text Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters