Gammadyne Corporation
Home Contact
Rated 5/5 stars on Tucows.com
"I'd like you to know that I am very pleased with this product.  I will be using it a lot."
- M. Walsen
"Your product is so fascinating and transparent to the end user -- I can only keep on repeating, great product!"
- James Ho
"Absolutely fantastic.  Thank you very much for an extremely helpful product.  The speed of this program is truly amazing."
- Arnold Lillie

String-O-Matic Technical Support

Frequently Asked Questions


1.  How are carriage returns represented?
2.  How can a string be deleted?
3.  Error: Cannot create a file when that file already exists.
4.  How can null characters be removed?
5.  Is it possible to recursively enter subdirectories?
6.  Does String-O-Matic work on Word/Access/Excel files?
7.  How can I run a project from the command line or a batch file?


If you still can't solve the problem, you may contact our technical support department.  However, please be aware of the following:
  • Email support is unlimited and free.  Telephone support must be approved and scheduled in advance.
  • Technical support can assist with the software's configuration, but within limits.  Sometimes configuration requires intimate knowledge of your business and may necessitate a Systems Analyst.
  • Technical support is staffed Monday through Friday, 10:00am - 6:00pm Central Time (GMT-6:00).  Of course, you can send us email any time.

Click here to send an email to Gammadyne Technical Support.  We value your feedback and appreciate your interest in our software! 





Answers


1.   How are carriage returns represented?
If Single String Mode is checked, simply press the Enter key.  Otherwise, to represent a carriage return/linefeed pair of characters, first set the "Canonicalization Mode" setting (on the Options folder) to "URL".  Then, use this string wherever you wish to represent a carriage return/linefeed pair:

%0D%0A

Notes:
  • The "%0D" represents the carriage return, which is ASCII code 13 (0D in hexadecimal).
  • The "%0A" represents the linefeed, which is ASCII code 10 (0A in hexadecimal).
  • On the Windows platform, a carriage return should almost always be followed by a linefeed.




2.   How can a string be deleted?
A string can be deleted by specifying an empty replacement string.  However, String-O-Matic will balk if the number of search strings does not match the number of replacement strings.  To avoid this, specify one last search string that is a random series of characters (that does not appear in the files), along with a bogus replacement string.

Alternatively, you can check the "Single String Mode" option, leaving the replacement string empty.  However, you will only be able to delete one string at a time using this method.




3.  Error: Cannot create a file when that file already exists.
Disable Norton Anti-Virus Auto-Protect.




4.  How can null characters be removed?
Use the text "%00" to represent a null character.  Leave the replacement string empty.  Set the "Canonicalization Mode" to "URL".  "Whole Word" should be unchecked.




5.  Is it possible to recursively enter subdirectories?
Yes, in the file specification, add the "/s" switch to the end of a line.  Here's an example:

c:\foo\*.cpp /s





6.  Does String-O-Matic work on Word/Access/Excel files?
No, these files are sensitive to changes in the length of certain strings.  However, it might work if the length of the replacement strings are the same as the search strings.  Always make a backup before using String-O-Matic!




7.  How can I run a project from the command line or a batch file?
The command line would look like this:

"c:\Program Files\String-O-Matic\som.exe" /r "c:\projects\example.fsr"



This example assumes the following:
  • String-O-Matic is installed in "c:\Program Files\String-O-Matic".
  • The filepath to your project is "c:\projects\example.fsr".

There are some optional command line switches you may find useful:

/cForces String-O-Matic to automatically close after the operation is finished.  However, if the project contains errors, this switch is ignored (unless the "/i" switch is also specified).  The "/c" switch will also eliminate the "Are you sure?" prompt before a search and replace operation begins.  Furthermore, the "/c" switch will prevent the log from being displayed.
/dOverrides the Source Files Folder for the Source Files.  The /d switch must be immediately followed by the new directory inside quotes.
/fOverrides the Source Files on which the operation is performed. The /f switch must be immediately followed by the new file specification inside quotes. Semi-colons can be used to separate multiple filenames.
/iSuppress the reporting of error messages.
/logOverrides the Log File. The /log switch should be immediately followed by the log filename, inside quotes. To disable logging, there should be nothing inside the quotes.
/minForces String-O-Matic's window to be initially minimized.
/replaceForces the operation to be a search and replace. The project's "Replace with:" option is ignored.
/searchForces the operation to be a search operation. The project's "Replace with:" option is ignored.