I am doing a lot of text manipulation and reading of text files.
Example:
Is there a function similar to ReadAllText that will return a Stringbuilder? Or can I convert the return value to a Stringbuilder efficiently?
tia,
flynn
Example:
Code:
Dim sb As System.Text.StringBuilder
' this line gives an error since ReadAllText returns a STRING
sb = My.Computer.FileSystem.ReadAllText("c:\data\file1.txt")
Is there a function similar to ReadAllText that will return a Stringbuilder? Or can I convert the return value to a Stringbuilder efficiently?
tia,
flynn