Read Sharp CALLISTO V2 (serv.man2) User Guide / Operation Manual online
05/05/2004 version 1 written
Back to index
FindAndReplaceHex
FindAndReplaceHex ( aFilename, aFindStr, aReplaceStr : String )
This routine will allow a search and replace in a file. The test is CASE-
SENSITIVE so beware. The find String can be any ASCII character. Non
ASCII characters can be any entered using the format of the hash/dollar
sequence e.g. #$07#$D4#$00#$0A#$CD#$CA = total of 6 chars If non ASCII
are mixed with ASCII these can be entered in this form e.g.
#$22'Hello'#$50'World'#$34'London'#$39 = total of 20 chars
Parameters:
SENSITIVE so beware. The find String can be any ASCII character. Non
ASCII characters can be any entered using the format of the hash/dollar
sequence e.g. #$07#$D4#$00#$0A#$CD#$CA = total of 6 chars If non ASCII
are mixed with ASCII these can be entered in this form e.g.
#$22'Hello'#$50'World'#$34'London'#$39 = total of 20 chars
Parameters:
aFilename -
Path of Source file
aFindStr -
String to find
aReplaceStr -
text to replace with
Returns:
No value returned
History:
08/05/2004 version 1 written
No value returned
History:
08/05/2004 version 1 written
Back to index
FindAndReplaceText
FindAndReplaceText ( aFilename, aFindStr, aReplaceStr : String ; aReplaceAll,
aIgnoreCase : Boolean )
aIgnoreCase : Boolean )
Finds and replaces text in file
Parameters:
Parameters:
aFilename -
Path of Source file
aFindStr -
String to find
aReplaceStr -
text to replace with
aReplaceAll -
if true replaces all occurances in file
aIgnoreCase -
if true replaces all occurances in file ignoring case
Returns:
No value returned
History:
05/05/2004 version 1 written
No value returned
History:
05/05/2004 version 1 written
Back to index
NotifyByEmail
Click on the first or last page to see other CALLISTO V2 (serv.man2) service manuals if exist.