如何去除最后的<代码>crlf 准则如下:
Dim fh As StreamReader
Dim temp as string
Dim temp1 as string
fh = new StreamReader("haggis.txt")
Dim s As String = fh.ReadLine()
While not s Is Nothing
temp = temp & s & Vbcrlf
Console.WriteLine(temp)
End While
fh.Close()
haggis.txt
AAAA
BBBB
Return
AAAA
BBBB
crlf <---- I want to remove this.