Dec 062017
 
This is a simple program to remove cr/lf from text and data files so they can be loaded in one long string without signaling EOF or EOLN. will work on any kind of file. TP source included.
File XSTRIP.ZIP from The Programmer’s Corner in
Category Word Processors
This is a simple program to remove cr/lf from text and data files so they can be loaded in one long string without signaling EOF or EOLN. will work on any kind of file. TP source included.
File Name File Size Zip Size Zip Type
XSTRIP.DOC 1956 968 deflated
XSTRIP.EXE 4480 3064 deflated
XSTRIP.PAS 1333 451 deflated

Download File XSTRIP.ZIP Here

Contents of the XSTRIP.DOC file






THE HANDY DANDY CR/LF STRIPPER 1.0
by Howard Rensin


Those of you who work with databases or other special needs may
from time to time need to load a lot of data into a program or database
without having the carraige return or line feed causing a false end of file
or end of line result.
This simple program will strip all carriage returns and line
feeds out of any text program.
Actually it removes the ASCII #10 and #13 from any file and will
work on all forms of files no matter what.
------------------------------------------------------------

Getting started is as easy as loading the program.


After a brief one second delay to display the header, the program
prompts you to enter the name of the file to be processed. This may be any
actual file name. You can state a path for the file to be found or the
program will default to the directory from which it is being called.

After entering the name of the file, press and you will
be prompted for the name of the output file. Do not use the same name.
Try something creative like 'text.new' or at least a different extension
on the file if your going to use the same first portion of the name.

This program will not change or hurt your original program
unless you write over it on purpose. If you select a file output name
that is the same name as an already existing file, you can kiss the old file
goodby. This does not give overwrite warnings or prompts. I really don't
think your likely to need such things.

Let me know how you like it. It is placed in public domain and
is free. No one is authorized to charge anything for its use.

Source code written in TurboPascal is being included with
this package of zipped files.

You should be getting:

XSTRIP.EXE
XSTRIP.PAS
XSTRIP.DOC



ENJOY


Howard Rensin
Silver Spring, MD.
CIS # 76076,641


 December 6, 2017  Add comments

Leave a Reply