Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Codage, syntaxe et commandes
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement