Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Re: Can I use REGEX to remove last character in a file

$
0
0

Could it be that your server is UNIX and the file from Windows? I'd check the last character in debug - if it is x13 (CR), the file was likely FTPed in binary mode, not ASCII mode. Check the addition 'smart line feed' in 'open dataset'. It ignores CR.

 

I know, not a direct answer to your question, but it may save you some hassle...

 

Wolfgang


Viewing all articles
Browse latest Browse all 8451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>