Multilined textbox problem

KipVB
04-19-2003, 08:25 AM
How can I read every line in a multilined textbox? :confused:

Tnx in advance ;) :p
KipVB

Garrett Sever
04-19-2003, 08:32 AM
erm... well... you should probably use the Split() function on the Textbox's .Text property using vbCrLf as the Delimiter. You can then reference the lines by the array indices.

wilbert
04-19-2003, 08:33 AM
Dim strText As String
Dim strLine() As String
strText = Text1.Text
strLine() = Split(strText, vbCrLf)


Wilbert

KipVB
04-19-2003, 08:38 AM
Sorry I bothered you, I found another solution :whoops:

KipVB

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum