Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Coding, syntax & commands
It does when you view the final text file in notepad after using StrToFile. If you know how to strip the control characters from a string, just tell me.
>It's not clear what the problem is. FILETOSTR() loads file into a memory variable. It doesn't display anything.
>
>>There is a line-break control character that is displaying when I use FileToStr and StrToFile functions. This starts with a text file from a 3rd party, so I have no control over the break being in there. I prefer it actually, but when I use FileToStr, it displays the control character rather than breaking the line. Again, that's ok, but I don't want it in my final results. How can I strip it out? It won't display in the snip below, but see the "[HERE]" for where it is showing up. Thanks!
>>
>
>>MSH|^~\&|Medinotes|CP|External||20070705154008||DFT^P03|468D4AD320F3|P|2.4|||AL|||[HERE]EVN|P03|20070705154008|20070705154008[HERE]PID
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only