如何删除下面的最后一个crlf
代码?在最后一行删除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.
您的代码是完全无效的。 – SLaks 2011-04-21 02:49:14
我更改了代码SLaks - tnx – user709787 2011-04-21 03:01:28
我是唯一一个发现“haggis.txt”有趣的人吗? – Cyclone 2011-04-21 03:27:08