home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR4
/
STRING11.ZIP
/
STRING.DOC
next >
Wrap
Text File
|
1993-02-19
|
5KB
|
136 lines
┌───────────────────────────────────────────────────────────────────────────┐
│ String Search(R) Version 1.10 by Andrew Baum │
└───────────────────────────────────────────────────────────────────────────┘
String Search(R) Version 1.10
(C) Copyright ASE SEDAI INC. 1993
Written by Andrew Baum
String Search(R) was developed and Compiled using Microsoft's
QuickBASIC(R) by Andrew Baum.
Note From Author:
Well I'm not too big on writing doc's so bear with me.
String Search(R) is one of my first programs that I
have written. To my knowledge I worked out all the
BUGS in this one. If anyone has any problems with this
on their machines please let me know. I can be reached
through FIDO-NET at address (1:356/19).
String Search is SHAREWARE and it is distributed under the SHAREWARE concept.
No one shall charge any fee's for the use of this program. Under the
SHAREWARE concept I ask you to give copies to ALL your friends and relatives,
and upload it to ALL your local BBS's. Also this program should be
distributed in an UNmodified form.
How to use String Search(R):
To use String Search(R) first of all make sure you have all the
files. Which shouldn't be hard...since there is only two files.
String.exe <=-=- The Program it self.
String.doc <=-=- This File your reading.
Next you need to place String.exe in ROOT directory. Thats where
I recommend you put it..BUT you may place it anywhere you wish.
Before I tell you how to use it I guess I should Tell you what
exactly it does. String Search(R) will search through a
specified file for a STRING of text in which you enter.
Then it will replace ALL of those STRING's that it found with
the Specified text. Here is an example....
Here is a excert from my FD.LOG
---------- Thu 18 Feb 93, FD 2.02
+ 11:17:15 Event 1-A
- 11:17:19 Preparing outbound mail
11:17:22 Bundle not sent to 1:356/14
11:17:22 Bundle not sent to 1:356/3
---------- Thu 18 Feb 93, FD 2.02
+ 11:18:03 Event 1-A
- 11:18:06 Preparing outbound mail
11:18:15 Bundle not sent to 1:356/14
11:18:15 Bundle not sent to 1:356/3
Ok...I told String Search(R) to search this file and find all the (-) signs.
Then I told it to replace those (-) signs with a (!) sign. Just a note
String Search can search for LONG strings of text and not just symbols. <G>
Now after I told it to replace the (-) with a (!) it will go through and
count how many times it replaces the defined text. After that it will save
the NEW files in which the changes took place to <filename>.NEW..so It will
not cause any problems with files or the user <G>. Ok..this is what you
get for a final product...
This is an excert from the FD.NEW..
!!!!!!!!!! Thu 18 Feb 93, FD 2.02
+ 11:17:15 Event 1!A
! 11:17:19 Preparing outbound mail
11:17:22 Bundle not sent to 1:356/14
11:17:22 Bundle not sent to 1:356/3
!!!!!!!!!! Thu 18 Feb 93, FD 2.02
+ 11:18:03 Event 1!A
! 11:18:06 Preparing outbound mail
11:18:15 Bundle not sent to 1:356/14
11:18:15 Bundle not sent to 1:356/3
As you can see it DID go through and replace ALL the (-) signs with (!).
Well thats about all...AGAIN you can have String Search(R) replace more
than just little signs..it WILL search LARGE doc's for LONG string's of
text and replace them with LONG replacement strings.
To use String Search(R) type STRING at the DOS prompt..you should
now have the following on your screen:
C:\SEDAI>string
String Search(R) Version 1.10
Developed by Andrew Baum. This product is distributed as SHAREWARE.
(C) Copyright ASE SEDAI INC. 1993-1999
Name of file? D:\FD\FD.LOG
Place the PATH and name of the file you wish to change.
String to replace? -
Here type the string you want String Search(R) to search for.
Replace with? @
Here type the string you want to Subtitute for the specified sting above.
There were 38 substitutions in 11 lines.
This line tells you how many changes in how many lines.
Substitutions are in file d:\fd\fd.NEW
This line tells you were the file is that the changes occured.
Well thats about it...The Doc's for this program aren't what they should
be but AGAIN..I'm not to hot on writting doc's. If you have any problems
with this program feel free to NetMail me at (1:356/19) and I will get
back to you.
Enjoy =8*)
String Search(R) Version 1.10
Developed by Andrew Baum. This product is distributed as SHAREWARE.
(C) Copyright ASE SEDAI INC. 1993-1999