This is the script I am working with:
Set fso = CreateObject("Scripting.FileSystemObject")
data = Split(fso.OpenTextFile("file.txt").ReadAll, "AIS*00*")
For i = 1 To UBound(data)
fso.OpenTextFile("new" & i & ".txt", 2, True).Write "AIS*00*" & data(i)
After splitting the files and creating new ones, one of the files contains a very small right arrow, which for some reason I cannot copy and paste into this box.
That right arrow does not belong.
How can I modify the script so that the output does not contain the right arrow?