Information générale
Catégorie:
Codage, syntaxe et commandes
Actually, it depends on the platform that produced the file. Typically, text files from DOS/Windows terminate lines with CRLF. UNIX/LINUX text files terminate lines with LF. I haven't looked at Mac text files for several years but they used to termintae lines with a CR.
>>I can't find any chr(10) charaters in my text. I also can't find any chr(10) characters when I sent my string back to a file and edit it with hexedit.
>>
>>When I run the command in my command window (not in my program), the charachters are replaced. Run-time it doesn't work.
>>
>>Why?
>
>Is your test data roughly the same as what's failing in runtime?... I'm thnking specifically here of the length of the entire string being examined.
>Also, it is most 'standard', per my own observations, that a "CR" is typically a "LF+CR", commonly CHR(13)+CHR(10).
>
>good luck
>
>
>>
>>Sander
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