Can anyone give me some advice as to how to clean up a string in Visual Basic .NET? I'm creating a string as a report with line breaks. However, the string is built based off of screen scrapes from a TN3270 emulator. The string is saved successfully with all of the data I require, but those annoying rectangle symbols show up once I send it to a notepad text file. Do you know anyway I can strip those out and clean up the output?
+2
A:
s.Replace(vbCr, vbCrLf);
Replace vbCr
with vbLf
depending on what is in your file.
Alternatively, just open it in WordPad.
Blindy
2010-10-08 17:07:29
Good idea. Thank you.
Louise
2010-10-08 17:11:47