Consecutive Find & Replace

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

User avatar
GalaxyMan
Junior Coder
Posts: 40
Joined: Sat Jun 27, 2009 7:21 pm

Re: Try percent signs to enclose CRLF

Post by GalaxyMan » Wed Jul 15, 2009 2:27 pm

gdyvig wrote:Try this:

Code: Select all

StringReplace>theFileData,>%CRLF%VAREXPLICIT=1.

Gale[/quote]

No, that didn't help. I also tried it with a comma before theFileData where it appears at the end of the StringReplace expression.

[code]

StringReplace>theFileData,>%CRLF%VAREXPLICIT=1

gdyvig
Automation Wizard
Posts: 447
Joined: Fri Jun 27, 2008 7:57 pm
Location: Seattle, WA

typo

Post by gdyvig » Wed Jul 15, 2009 2:51 pm

I made some sort of copy/paste error.

It should read:

Code: Select all

StringReplace>theFileData,><,>%CRLF%<,theFileData 

A comment I wrote about VAREXPLICIT=1 should have appeared outside the code area. The comment if your script sets VAREXPLICIT you need to have percents around variables for most commands.

User avatar
GalaxyMan
Junior Coder
Posts: 40
Joined: Sat Jun 27, 2009 7:21 pm

Post by GalaxyMan » Wed Jul 15, 2009 3:48 pm

:D

You seriously ROCK!!!


Thank you so much. I understand how this will extrapolate to any other explicit commands, using the % (percent) symbol as a bracket.

I actually have another question I thought of, but that will be at another time and its own Topic/Subject.

Ronen

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts