Never mind.  I got it working.  (Although I am not too sure what I did!)

--
Thompson Technology Consultants 
LaPorte, IN 46350 
219-363-7441

-------------- Original message -------------- 
From: [EMAIL PROTECTED] 

I have the following code:

--Replace Carriage Return with ~
set var vfilename text = 'NewTest.dat'
SET VAR vquote = (CVAL('QUOTES'))
SET VAR vchar TEXT = (CHAR(013))
SET VAR vcommand TEXT = +
('PLUGIN g:\rbti\Homedepot\rsearchandreplace.rbl ' + .vquote + 
'vError|FILE_NAME ' + .vfilename + +
' |OLD_PATTERN ' + .vchar + ' |NEW_PATTERN  ~ |REPLACE_ALL ON|IGNORE_CASE 
ON|WHOLE_WORD OFF' + .vquote)
&vcommand

I need to replace the carriage returns in a text file with a "~" character.   
Using the above syntax, I have been successful in replacing
other characters, but not carriage returns.   Any thoughts?

Thanks,
-Bob

--
Thompson Technology Consultants 
LaPorte, IN 46350 
219-363-7441

Reply via email to