Using an Array

supercrewed
08-26-2009, 06:00 AM
I've worked with arrays only slightly, but is there an easy way to write text to an array, and split the lines of text, so at each vbcrlf, it would be stored in the array, or how would i go about taking text from a text box, line by line and placing it in an array.

I can open a text file, and do it, but i've had no luck doing the aboveformentioned, any ideas, i've lost hair due to all the head scratching...

kassyopeia
08-26-2009, 06:18 AM
Fortunately, VB supports this natively: Split() (http://msdn.microsoft.com/en-us/library/aa263365(VS.60).aspx)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum