G
Guest
Hi there,
What is the maximum length that one line can hold in a text file using
StreamWriter's Write or WriteLine method? If the string is too long for one
line to hold, what will Write or WriteLine do? In order me to retrieve data
correctly from the text file later, I have to know the right index. For the
following code,if str1's length exceeds one line in text file, how can I get
str2's index when reading the text file? Is there any way to handle this
kind of situation?
///
dim sw as streamwriter
dim str1, str2 as string
sw.WriteLine(str1)
sw.WriteLine(str2)
\\\
I appreciate your help.
Nina
What is the maximum length that one line can hold in a text file using
StreamWriter's Write or WriteLine method? If the string is too long for one
line to hold, what will Write or WriteLine do? In order me to retrieve data
correctly from the text file later, I have to know the right index. For the
following code,if str1's length exceeds one line in text file, how can I get
str2's index when reading the text file? Is there any way to handle this
kind of situation?
///
dim sw as streamwriter
dim str1, str2 as string
sw.WriteLine(str1)
sw.WriteLine(str2)
\\\
I appreciate your help.
Nina