Click to See Complete Forum and Search --> : splitting text strings


kjoter
July 24th, 2000, 04:01 AM
My problem: I have a textfile coming who i read into a textbox. It is a long textfile, and I need to split it up at linefeed or carrige return to get it right in to the next program (ibm mqseries) who needs the data in the right order... Any suggestions? (Thanks for good help!)

Lothar Haensler
July 24th, 2000, 04:03 AM
use the split function in VB 6:
dim a() as string
a = split(yourText, vbcrlf)